800
How can I change the color for a particular bar

local var_Items as IItems
local h as USUAL

oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
oDCOCX_Exontrol1:Columns:Add("Column")
var_Items := oDCOCX_Exontrol1:Items
	var_Items:AddBar(var_Items:AddItem("Item 1"),"Task",SToD("20010102"),SToD("20010104"),"B1",nil)
	h := var_Items:AddItem("Item 2")
	var_Items:AddBar(h,"Task",SToD("20010104"),SToD("20010106"),"B2",nil)
	var_Items:[ItemBar,h,"B2",exBarColor] := 255
	var_Items:AddBar(var_Items:AddItem("Item 3"),"Task",SToD("20010106"),SToD("20010114"),"B3",nil)

799
How can I change the color or visual appearance using EBN files for a particular bar

local var_Bar as IBar
local var_Chart as IChart
local var_Items as IItems
local h as USUAL

oDCOCX_Exontrol1:VisualAppearance:Add(1,"gBFLBCJwBAEHhEJAEGg4BGoCg6AADACAxRDAMgBQKAAzQFAYZhhBaERiGEaIJhUAIIRZGMQxXAcMQvDSKQJhGLhQiSJoJDSBEgSXDIZQ5D6OZYACDJQACJYJTbAYzyPJkPRAA6EZCmGAwCglf5HABRb7xNLkbQ8GySKJnWCQJhoD5BSLCNRUTRFFQtGgZBpEWwLCjQNQwWLKFoTJIEPSBDKqYDoKYqTgOOZOThHQz3HakQRdAa/ZpnaKpUo2d47XjMWBwGA0EzeAAGaxoShqdoiFaGU7UOJVJBOGwHK6BchoMAKbp6XoVWRaOAWLZWVABM7XLZxbLccyGfZ1XhdV5UbqUMznR7PNrjLKIJpCOJbbyAFwgBaeQABYLhK7iHRmi8XYwjMWpjFWOx1GIB5LmgdB4HCEBECSIBpDGHQOicIwokYPImikEIJj6eJIloEgogSc40FGcJEFiYZIG2VIoAURw1g2QxyAQNwNAMPJOgIYI4CoDIBmAeAKBIUpQDUKJYDoTpIB4vxgmgdgNgeYZDDoFw7CEJhQn+BohmKfImCWSZRlgYwikYMQ0gwF4DniTA/gwBJYjQYwsgoIg6AyCRQDiIJODAZBImoOguAmMZ4lQLIJjOMI3CYZJpEIT4KiKSI6DqD5ZGAAgHC2DAjBYR4SGUGYGE+GIlCmFhRhIB5iFAbwWsiJgMhoCoxngV4ZCcSYOHaGYnHmIg8COJpoCoOISmSWZeHWHgoEkRoAg4EIYB4NogmiSgKg6GRjGoJgFh+ZJKDaBYjmgaQygiBRUHmbhoDsTAyiqIIoioGoOw8aoKhKKoemeOIaAeF5HmqHoqiyKxKgYaN/locgBiuZRojoVIok8cwsjaMBLGqDoAhGIpoEYWYEmAIxUkQLZmgiYg2g2I4JiCQwuAqWIOIkEAQICA==")
var_Chart := oDCOCX_Exontrol1:Chart
	var_Chart:FirstVisibleDate := SToD("20010101")
	var_Bar := var_Chart:Bars:[Item,"Task"]
		var_Bar:Color := 0x1000000
		var_Bar:Height := 16
oDCOCX_Exontrol1:Columns:Add("Column")
var_Items := oDCOCX_Exontrol1:Items
	var_Items:AddBar(var_Items:AddItem("Item 1"),"Task",SToD("20010102"),SToD("20010104"),"B1",nil)
	h := var_Items:AddItem("Item 2")
	var_Items:AddBar(h,"Task",SToD("20010104"),SToD("20010106"),"B2",nil)
	var_Items:[ItemBar,h,"B2",exBarColor] := 255
	var_Items:AddBar(var_Items:AddItem("Item 3"),"Task",SToD("20010106"),SToD("20010114"),"B3",nil)

798
How can I resize programmatically a bar
local var_Items as IItems
local h as USUAL

oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
oDCOCX_Exontrol1:Columns:Add("Column")
var_Items := oDCOCX_Exontrol1:Items
	h := var_Items:AddItem("Item 1")
	var_Items:AddBar(h,"Task",SToD("20010104"),SToD("20010106"),"B2",nil)
	var_Items:[ItemBar,h,"B2",exBarDuration] := 1

797
How can I move programmatically a bar
local var_Items as IItems
local h as USUAL

oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
oDCOCX_Exontrol1:Columns:Add("Column")
var_Items := oDCOCX_Exontrol1:Items
	h := var_Items:AddItem("Item 1")
	var_Items:AddBar(h,"Task",SToD("20010104"),SToD("20010106"),"B2",nil)
	var_Items:[ItemBar,h,"B2",exBarMove] := -2

796
How can I select displaying the histogram for an item and all its child items

local var_Bar as IBar
local var_Chart as IChart
local var_Column as IColumn
local var_Items as IItems
local h,h1 as USUAL

oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:MarkSearchColumn := false
oDCOCX_Exontrol1:ShowFocusRect := false
oDCOCX_Exontrol1:Columns:Add("Tasks")
var_Column := IColumn{oDCOCX_Exontrol1:Columns:Add("Hist")}
	var_Column:[Def,exCellHasCheckBox] := true
	var_Column:PartialCheck := true
	var_Column:AllowSizing := false
	var_Column:Width := 18
var_Chart := oDCOCX_Exontrol1:Chart
	var_Chart:LevelCount := 2
	var_Chart:NonworkingDays := 0
	var_Chart:[PaneWidth,false] := 96
	var_Chart:FirstVisibleDate := SToD("20050620")
	var_Chart:HistogramVisible := true
	var_Chart:HistogramView := 0x10000 | exHistogramNoGrouping | exHistogramRecLeafItems | exHistogramLeafItems | exHistogramUnlockedItems | exHistogramCheckedItems
	var_Chart:HistogramHeight := 64
	var_Bar := var_Chart:Bars:[Item,"Task"]
		var_Bar:HistogramCriticalColor := RGB(255,0,0)
		var_Bar:HistogramPattern := exBezierCurve
		var_Bar:HistogramType := exHistOverAllocation
var_Items := oDCOCX_Exontrol1:Items
	h := var_Items:AddItem("Project 1")
	var_Items:AddBar(h,"Summary",SToD("20050621"),SToD("20050701"),nil,nil)
	h1 := var_Items:InsertItem(h,nil,"Task 1")
	var_Items:AddBar(h1,"Task",SToD("20050621"),SToD("20050628"),nil,nil)
	var_Items:[CellMerge,h1,0] := 1
	var_Items:DefineSummaryBars(h,"",h1,"")
	h1 := var_Items:InsertItem(h,nil,"Task 2")
	var_Items:AddBar(h1,"Task",SToD("20050623"),SToD("20050701"),"E",nil)
	var_Items:[CellMerge,h1,0] := 1
	var_Items:DefineSummaryBars(h,"",h1,"E")
	var_Items:[ItemBar,h1,"E",exBarEffort] := 5
	h1 := var_Items:InsertItem(h,nil,"Task 3")
	var_Items:AddBar(h1,"Task",SToD("20050625"),SToD("20050627"),"E",nil)
	var_Items:[CellMerge,h1,0] := 1
	var_Items:DefineSummaryBars(h,"",h1,"E")
	var_Items:[ExpandItem,h] := true
	var_Items:[CellState,h,1] := 1
	h := var_Items:AddItem("Project 2")
	var_Items:AddBar(h,"Summary",SToD("20050626"),SToD("20050706"),nil,nil)
	h1 := var_Items:InsertItem(h,nil,"Task 1")
	var_Items:AddBar(h1,"Task",SToD("20050626"),SToD("20050702"),nil,nil)
	var_Items:[CellMerge,h1,0] := 1
	var_Items:DefineSummaryBars(h,"",h1,"")
	h1 := var_Items:InsertItem(h,nil,"Task 2")
	var_Items:AddBar(h1,"Task",SToD("20050628"),SToD("20050706"),"E",nil)
	var_Items:[CellMerge,h1,0] := 1
	var_Items:DefineSummaryBars(h,"",h1,"E")
	var_Items:[ItemBar,h1,"E",exBarEffort] := 5
	h1 := var_Items:InsertItem(h,nil,"Task 3")
	var_Items:AddBar(h1,"Task",SToD("20050630"),SToD("20050702"),"E",nil)
	var_Items:[CellMerge,h1,0] := 1
	var_Items:DefineSummaryBars(h,"",h1,"E")
	var_Items:[ExpandItem,h] := true
	var_Items:[CellState,h,1] := 1
oDCOCX_Exontrol1:EndUpdate()

795
How can I select or specify the items being included in the histogram, (using a different column )

local var_Chart as IChart
local var_Column as IColumn
local var_Items as IItems
local h as USUAL

oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:MarkSearchColumn := false
var_Chart := oDCOCX_Exontrol1:Chart
	var_Chart:FirstVisibleDate := SToD("20010101")
	var_Chart:HistogramVisible := true
	var_Chart:HistogramView := 0x10000 | exHistogramCheckedItems
	var_Chart:HistogramHeight := 32
	var_Chart:Bars:[Item,"Task"]:HistogramPattern := exPatternBDiagonal
oDCOCX_Exontrol1:Columns:Add("Column")
var_Column := IColumn{oDCOCX_Exontrol1:Columns:Add("Histogram")}
	var_Column:[Def,exCellHasCheckBox] := true
	var_Column:AllowSizing := false
	var_Column:Width := 18
var_Items := oDCOCX_Exontrol1:Items
	var_Items:AddBar(var_Items:AddItem("Item 1"),"Task",SToD("20010103"),SToD("20010105"),nil,nil)
	h := var_Items:AddItem("Item 2")
	var_Items:AddBar(h,"Task",SToD("20010104"),SToD("20010107"),nil,nil)
	var_Items:[CellState,h,1] := 1
	h := var_Items:AddItem("Item 3")
	var_Items:AddBar(h,"Task",SToD("20010102"),SToD("20010105"),nil,nil)
	var_Items:[CellState,h,1] := 1
oDCOCX_Exontrol1:EndUpdate()

794
How can I select or specify the items being included in the histogram

local var_Chart as IChart
local var_Items as IItems
local h as USUAL

oDCOCX_Exontrol1:BeginUpdate()
var_Chart := oDCOCX_Exontrol1:Chart
	var_Chart:FirstVisibleDate := SToD("20010101")
	var_Chart:HistogramVisible := true
	var_Chart:HistogramView := exHistogramCheckedItems
	var_Chart:HistogramHeight := 32
	var_Chart:Bars:[Item,"Task"]:HistogramPattern := exPatternBDiagonal
IColumn{oDCOCX_Exontrol1:Columns:Add("Column")}:[Def,exCellHasCheckBox] := true
var_Items := oDCOCX_Exontrol1:Items
	var_Items:AddBar(var_Items:AddItem("Item 1"),"Task",SToD("20010103"),SToD("20010105"),nil,nil)
	h := var_Items:AddItem("Item 2")
	var_Items:AddBar(h,"Task",SToD("20010104"),SToD("20010107"),nil,nil)
	var_Items:[CellState,h,0] := 1
	h := var_Items:AddItem("Item 3")
	var_Items:AddBar(h,"Task",SToD("20010102"),SToD("20010105"),nil,nil)
	var_Items:[CellState,h,0] := 1
oDCOCX_Exontrol1:EndUpdate()

793
Is there any option to display the histogram for selected items only

local var_Chart as IChart
local var_Items as IItems

oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:SingleSel := false
var_Chart := oDCOCX_Exontrol1:Chart
	var_Chart:FirstVisibleDate := SToD("20010101")
	var_Chart:HistogramVisible := true
	var_Chart:HistogramView := exHistogramSelectedItems
	var_Chart:HistogramHeight := 32
	var_Chart:Bars:[Item,"Task"]:HistogramPattern := exPatternBDiagonal
oDCOCX_Exontrol1:Columns:Add("Column")
var_Items := oDCOCX_Exontrol1:Items
	var_Items:AddBar(var_Items:AddItem("Item 1"),"Task",SToD("20010103"),SToD("20010105"),nil,nil)
	var_Items:AddBar(var_Items:AddItem("Item 2"),"Task",SToD("20010104"),SToD("20010107"),nil,nil)
	var_Items:AddBar(var_Items:AddItem("Item 3"),"Task",SToD("20010102"),SToD("20010106"),nil,nil)
	var_Items:SelectAll()
oDCOCX_Exontrol1:EndUpdate()

792
Is it possible to add bars to a summary bar so, they get resized or moved as soon as a bar is changed

local var_Chart as IChart
local var_Items as IItems
local h1,h2,hProject,hR1,hR2 as USUAL

oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:BackColor := RGB(255,255,255)
oDCOCX_Exontrol1:ShowFocusRect := false
oDCOCX_Exontrol1:HasLines := exNoLine
oDCOCX_Exontrol1:LinesAtRoot := exLinesAtRoot
oDCOCX_Exontrol1:HasLines := exNoLine
oDCOCX_Exontrol1:Indent := 14
oDCOCX_Exontrol1:FullRowSelect := exColumnSel
oDCOCX_Exontrol1:ScrollBySingleLine := true
var_Chart := oDCOCX_Exontrol1:Chart
	var_Chart:BackColor := RGB(255,255,255)
	var_Chart:SelBackColor := RGB(245,245,245)
	var_Chart:AllowCreateBar := exNoCreateBar
	var_Chart:AllowLinkBars := false
	var_Chart:FirstVisibleDate := SToD("20080101")
	var_Chart:LevelCount := 2
	var_Chart:[PaneWidth,false] := 98
oDCOCX_Exontrol1:Columns:Add("")
var_Items := oDCOCX_Exontrol1:Items
	hProject := var_Items:AddItem("Project")
	var_Items:[ItemHeight,hProject] := 26
	var_Items:AddBar(hProject,"Project Summary",SToD("20080102"),SToD("20080105"),nil,nil)
	var_Items:[ItemBar,hProject,"",exBarCaption] := "<br>< <b>Project Summary</b> >"
	hR1 := var_Items:InsertItem(hProject,nil,"Team 1")
	var_Items:[ItemHeight,hR1] := 30
	var_Items:AddBar(hR1,"Summary",SToD("20080102"),SToD("20080108"),nil,nil)
	var_Items:[ItemBar,hR1,"",exBarCaption] := "<br> Team <b>1</b> Summary "
	h1 := var_Items:InsertItem(hR1,nil,"Member 1")
	var_Items:AddBar(h1,"Task",SToD("20080102"),SToD("20080107"),nil,nil)
	var_Items:DefineSummaryBars(hR1,"",h1,"")
	h1 := var_Items:InsertItem(hR1,nil,"Member 2")
	var_Items:AddBar(h1,"Task",SToD("20080104"),SToD("20080109"),nil,nil)
	var_Items:DefineSummaryBars(hR1,"",h1,"")
	h1 := var_Items:InsertItem(hR1,nil,"Member 3")
	var_Items:AddBar(h1,"Task",SToD("20080105"),SToD("20080110"),nil,nil)
	var_Items:DefineSummaryBars(hR1,"",h1,"")
	var_Items:[ExpandItem,hR1] := true
	hR2 := var_Items:InsertItem(hProject,nil,"Team 2")
	var_Items:[ItemHeight,hR2] := 30
	var_Items:AddBar(hR2,"Summary",SToD("20080102"),SToD("20080108"),nil,nil)
	var_Items:[ItemBar,hR2,"",exBarCaption] := "<br> Team <b>2</b> Summary "
	h2 := var_Items:InsertItem(hR2,nil,"Member 1")
	var_Items:AddBar(h2,"Task",SToD("20080104"),SToD("20080107"),nil,nil)
	var_Items:DefineSummaryBars(hR2,"",h2,"")
	h2 := var_Items:InsertItem(hR2,nil,"Member 2")
	var_Items:AddBar(h2,"Task",SToD("20080108"),SToD("20080111"),nil,nil)
	var_Items:DefineSummaryBars(hR2,"",h2,"")
	h2 := var_Items:InsertItem(hR2,nil,"Member 3")
	var_Items:AddBar(h2,"Task",SToD("20080105"),SToD("20080112"),nil,nil)
	var_Items:DefineSummaryBars(hR2,"",h2,"")
	var_Items:[ExpandItem,hR2] := true
	var_Items:[ExpandItem,var_Items:FirstVisibleItem] := true
	var_Items:DefineSummaryBars(hProject,"",hR1,"")
	var_Items:DefineSummaryBars(hProject,"",hR2,"")
oDCOCX_Exontrol1:EndUpdate()

791
Is it possible to define level in terms of just increasing numbers (not a Date)

local var_Chart as IChart

var_Chart := oDCOCX_Exontrol1:Chart
	var_Chart:[PaneWidth,false] := 32
	var_Chart:UnitWidth := 32
	var_Chart:FirstVisibleDate := 1000
	var_Chart:[Level,0]:Label := "<%i%>"

790
How can I hide the non-working units ( days or hours )

local var_Chart as IChart
local var_Level as ILevel

oDCOCX_Exontrol1:BeginUpdate()
var_Chart := oDCOCX_Exontrol1:Chart
	var_Chart:[PaneWidth,false] := 0
	var_Chart:LevelCount := 2
	var_Level := var_Chart:[Level,0]
		var_Level:Label := "<%dddd%>"
		var_Level:Alignment := CenterAlignment
	var_Chart:[Level,1]:Label := 65536
	var_Chart:NonworkingHours := 16773375
	var_Chart:ShowNonworkingUnits := false
	var_Chart:ShowNonworkingDates := false
	var_Chart:ShowNonworkingHours := false
oDCOCX_Exontrol1:EndUpdate()

789
Is there a way to have the display show the word "Noon" instead "12:00 PM" in the chart's header/levels

local var_Chart as IChart
local var_Level,var_Level1,var_Level2 as ILevel

var_Chart := oDCOCX_Exontrol1:Chart
	var_Chart:[PaneWidth,false] := 0
	var_Chart:FirstVisibleDate := SToD("20010101 10:00:00")
	var_Chart:LevelCount := 3
	var_Level := var_Chart:[Level,0]
		var_Level:Label := "<b><%mmm%> <%d%>, <%yyyy%></b>"
		var_Level:Alignment := CenterAlignment
		var_Level:Unit := exDay
	var_Level1 := var_Chart:[Level,1]
		var_Level1:Label := "<%h%>:00 <%AM/PM%>"
		var_Level1:Alignment := CenterAlignment
		var_Level1:Unit := exHour
		var_Level1:DrawTickLines := exLevelDefaultLine
		var_Level1:DrawGridLines := true
		var_Level1:[ReplaceLabel,"12:00 PM"] := "<fgcolor=0000FF><b>Noon</b></fgcolor>"
	var_Level2 := var_Chart:[Level,2]
		var_Level2:Label := ""
		var_Level2:Unit := exMinute
		var_Level2:Count := 15

788
How can I change the selection background color in the chart area

local var_Items as IItems

oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
oDCOCX_Exontrol1:Chart:SelBackColor := RGB(255,0,0)
oDCOCX_Exontrol1:Columns:Add("Column")
var_Items := oDCOCX_Exontrol1:Items
	var_Items:AddBar(var_Items:AddItem("Item 1"),"Task",SToD("20010102"),SToD("20010104"),nil,nil)
	var_Items:AddBar(var_Items:AddItem("Item 1"),"Task",SToD("20010106"),SToD("20010114"),nil,nil)
	var_Items:[SelectItem,var_Items:FirstVisibleItem] := true

787
How can I change the selection background color in the chart area

local var_Items as IItems

oDCOCX_Exontrol1:VisualAppearance:Add(1,"c:\exontrol\images\normal.ebn")
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
oDCOCX_Exontrol1:Chart:SelBackColor := 0x1000000
oDCOCX_Exontrol1:Columns:Add("Column")
var_Items := oDCOCX_Exontrol1:Items
	var_Items:AddBar(var_Items:AddItem("Item 1"),"Task",SToD("20010102"),SToD("20010104"),nil,nil)
	var_Items:AddBar(var_Items:AddItem("Item 1"),"Task",SToD("20010106"),SToD("20010114"),nil,nil)
	var_Items:[SelectItem,var_Items:FirstVisibleItem] := true

786
Is there any way to extend the selection on the chart

local var_Items as IItems

oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
oDCOCX_Exontrol1:Chart:SelBackColor := oDCOCX_Exontrol1:SelBackColor
oDCOCX_Exontrol1:Columns:Add("Column")
var_Items := oDCOCX_Exontrol1:Items
	var_Items:AddBar(var_Items:AddItem("Item 1"),"Task",SToD("20010102"),SToD("20010104"),nil,nil)
	var_Items:AddBar(var_Items:AddItem("Item 1"),"Task",SToD("20010106"),SToD("20010114"),nil,nil)
	var_Items:[SelectItem,var_Items:FirstVisibleItem] := true

785
How can I display the column's header using multiple lines


oDCOCX_Exontrol1:HeaderHeight := 128
oDCOCX_Exontrol1:HeaderSingleLine := false
IColumn{oDCOCX_Exontrol1:Columns:Add("This is just a column that should break the header.")}:Width := 32
oDCOCX_Exontrol1:Columns:Add("This is just another column that should break the header.")

784
Can I move or limit moving or resizing a bar
local var_Chart as IChart
local var_Items as IItems
local h as USUAL

oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:ScrollBySingleLine := true
oDCOCX_Exontrol1:DrawGridLines := exAllLines
oDCOCX_Exontrol1:DefaultItemHeight := 19
oDCOCX_Exontrol1:GridLineColor := RGB(220,220,220)
var_Chart := oDCOCX_Exontrol1:Chart
	var_Chart:FirstVisibleDate := SToD("20010101")
	var_Chart:[ScrollRange,exStartDate] := SToD("20001228")
	var_Chart:[ScrollRange,exEndDate] := SToD("20010112")
	var_Chart:DrawDateTicker := true
	var_Chart:NonworkingDays := 0
	var_Chart:DrawGridLines := exAllLines
	var_Chart:ResizeUnitScale := exHour
	var_Chart:AllowCreateBar := exNoCreateBar
	var_Chart:[PaneWidth,false] := 128
	var_Chart:LevelCount := 2
	var_Chart:[Level,0]:DrawGridLines := false
	var_Chart:AllowLinkBars := false
	var_Chart:Bars:[Item,"Task"]:OverlaidType := exOverlaidBarsStackAutoArrange | exOverlaidBarsStack
oDCOCX_Exontrol1:Columns:Add("Info")
var_Items := oDCOCX_Exontrol1:Items
	h := var_Items:AddItem("Fixed bar")
	var_Items:AddBar(h,"Task",SToD("20010102"),SToD("20010105"),"F",nil)
	var_Items:[ItemBar,h,"F",exBarCanResize] := false
	var_Items:[ItemBar,h,"F",exBarCanMove] := false
	var_Items:[ItemBar,h,"F",exBarToolTip] := "This bar is fixed, so the uer can move or resize it"
	h := var_Items:AddItem("Moveable but not-resizable bar")
	var_Items:AddBar(h,"Task",SToD("20010103"),SToD("20010106"),"F",nil)
	var_Items:[ItemBar,h,"F",exBarToolTip] := "This bar is moveable inside the item, but the user can't resize it."
	var_Items:[ItemBar,h,"F",exBarCanResize] := false
	h := var_Items:AddItem("Resizable but not moveable bar")
	var_Items:AddBar(h,"Task",SToD("20010103"),SToD("20010106"),"F",nil)
	var_Items:[ItemBar,h,"F",exBarToolTip] := "This bar is resizable but the user can't move it."
	var_Items:[ItemBar,h,"F",exBarCanMove] := false
	h := var_Items:AddItem("Range Moveable bar")
	var_Items:AddBar(h,"Task",SToD("20010102"),SToD("20010106"),"F",nil)
	var_Items:[ItemBar,h,"F",exBarToolTip] := "This bar can be moved inside the displayed range."
	var_Items:[ItemBar,h,"F",exBarMinStart] := SToD("20010102")
	var_Items:[ItemBar,h,"F",exBarMaxEnd] := SToD("20010108")
	var_Items:[ItemBar,h,"F",exBarShowRange] := 32
	var_Items:[ItemBar,h,"F",exBarShowRangeTransparent] := 90
	h := var_Items:AddItem("Range Moveable Upper No Limit bar")
	var_Items:AddBar(h,"Task",SToD("20010103"),SToD("20010106"),"F",nil)
	var_Items:[ItemBar,h,"F",exBarToolTip] := "This bar can be moved inside the displayed range."
	var_Items:[ItemBar,h,"F",exBarMinStart] := SToD("20010102")
	var_Items:[ItemBar,h,"F",exBarShowRange] := 32
	var_Items:[ItemBar,h,"F",exBarShowRangeTransparent] := 90
	h := var_Items:AddItem("Range Moveable Lower No Limit bar")
	var_Items:AddBar(h,"Task",SToD("20010103"),SToD("20010106"),"F",nil)
	var_Items:[ItemBar,h,"F",exBarToolTip] := "This bar can be moved inside the displayed range."
	var_Items:[ItemBar,h,"F",exBarMaxEnd] := SToD("20010108")
	var_Items:[ItemBar,h,"F",exBarShowRange] := 32
	var_Items:[ItemBar,h,"F",exBarShowRangeTransparent] := 90
	h := var_Items:AddItem("Moveable bar inside the item")
	var_Items:AddBar(h,"Task",SToD("20010102"),SToD("20010106"),"F",nil)
	var_Items:[ItemBar,h,"F",exBarToolTip] := "This bar can be moved/resized anywhere inside the item."
	h := var_Items:AddItem("Moveable bar to other items too")
	var_Items:AddBar(h,"Task",SToD("20010102"),SToD("20010106"),"FA",nil)
	var_Items:[ItemBar,h,"FA",exBarToolTip] := "This bar can be moved to other items too. Click the bar and move it to other items too."
	var_Items:[ItemBar,h,"FA",exBarCaption] := "free"
	var_Items:[ItemBar,h,"FA",exBarHAlignCaption] := 18
	var_Items:[ItemBar,h,"FA",exBarCanMoveToAnother] := true
	h := var_Items:AddItem("Moveable inside item")
	var_Items:AddBar(h,"Task",SToD("20010103"),SToD("20010105"),"F1",nil)
	h := var_Items:AddItem("Moveable inside item")
	var_Items:AddBar(h,"Task",SToD("20010103"),SToD("20010105"),"F1",nil)
	h := var_Items:AddItem("Moveable inside item")
	var_Items:AddBar(h,"Task",SToD("20010103"),SToD("20010105"),"F1",nil)
oDCOCX_Exontrol1:EndUpdate()

783
Can I move a bar from an item to another by drag and drop
local var_Items as IItems
local h as USUAL

oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
oDCOCX_Exontrol1:Chart:AllowLinkBars := false
oDCOCX_Exontrol1:Chart:Bars:[Item,"Task"]:OverlaidType := exOverlaidBarsTransparent | exOverlaidBarsOffset
oDCOCX_Exontrol1:Columns:Add("Column")
var_Items := oDCOCX_Exontrol1:Items
	var_Items:AddBar(var_Items:AddItem("Item 1"),"Task",SToD("20010102"),SToD("20010104"),"A",nil)
	h := var_Items:AddItem("Item 2")
	var_Items:AddBar(h,"Task",SToD("20010105"),SToD("20010107"),"B",nil)
	var_Items:[ItemBar,h,"B",exBarCanMoveToAnother] := true
	var_Items:AddItem("Item 3")
	var_Items:AddItem("Item 4")

782
Can I move a bar from an item to another
local var_Items as IItems
local h as USUAL

oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
oDCOCX_Exontrol1:Columns:Add("Column")
var_Items := oDCOCX_Exontrol1:Items
	var_Items:AddBar(var_Items:AddItem("Item 1"),"Task",SToD("20010102"),SToD("20010104"),"A",nil)
	h := var_Items:AddItem("Item 2")
	var_Items:AddBar(h,"Task",SToD("20010106"),SToD("20010114"),"B",nil)
	var_Items:[ItemBar,h,"B",exBarParent] := var_Items:FirstVisibleItem

781
How can change the width, transparency, style, visual appearance ( EBN), of the vertical bar that shows the current date-time

local var_Chart as IChart
local var_Items as IItems
local var_Level as ILevel

oDCOCX_Exontrol1:VisualAppearance:Add(1,"c:\exontrol\images\normal.ebn")
var_Chart := oDCOCX_Exontrol1:Chart
	var_Chart:LevelCount := 2
	var_Chart:[Level,0]:Label := 1048576
	var_Level := var_Chart:[Level,1]
		var_Level:Label := "<%ss%>"
		var_Level:Count := 15
	var_Chart:MarkNowColor := 0x1000000
	var_Chart:MarkNowWidth := 6
	var_Chart:MarkNowTransparent := 50
oDCOCX_Exontrol1:Columns:Add("Tasks")
var_Items := oDCOCX_Exontrol1:Items
	var_Items:AddBar(var_Items:AddItem("Item 1"),"Task",SToD("20080101"),SToD("20180101"),nil,nil)

780
How can change the width, style, visual appearance ( EBN), of the vertical bar that shows the current time

local var_Chart as IChart
local var_Items as IItems
local var_Level as ILevel

oDCOCX_Exontrol1:VisualAppearance:Add(1,"c:\exontrol\images\normal.ebn")
var_Chart := oDCOCX_Exontrol1:Chart
	var_Chart:LevelCount := 2
	var_Chart:[Level,0]:Label := 1048576
	var_Level := var_Chart:[Level,1]
		var_Level:Label := "<%ss%>"
		var_Level:Count := 15
	var_Chart:MarkNowColor := 0x1000000
	var_Chart:MarkNowWidth := 6
oDCOCX_Exontrol1:Columns:Add("Tasks")
var_Items := oDCOCX_Exontrol1:Items
	var_Items:AddBar(var_Items:AddItem("Item 1"),"Task",SToD("20080101"),SToD("20180101"),nil,nil)

779
How can I show a vertical bar that indicates the current time

local var_Chart as IChart
local var_Items as IItems
local var_Level as ILevel

var_Chart := oDCOCX_Exontrol1:Chart
	var_Chart:LevelCount := 2
	var_Chart:[Level,0]:Label := 1048576
	var_Level := var_Chart:[Level,1]
		var_Level:Label := "<%ss%>"
		var_Level:Count := 15
	var_Chart:MarkNowColor := RGB(0,0,255)
	var_Chart:MarkNowWidth := 7
oDCOCX_Exontrol1:Columns:Add("Tasks")
var_Items := oDCOCX_Exontrol1:Items
	var_Items:AddBar(var_Items:AddItem("Item 1"),"Task",SToD("20080101"),SToD("20180101"),nil,nil)

778
How can I show semi-transparent the vertical bar that indicates the current time

local var_Chart as IChart
local var_Items as IItems
local var_Level as ILevel

var_Chart := oDCOCX_Exontrol1:Chart
	var_Chart:LevelCount := 2
	var_Chart:[Level,0]:Label := 1048576
	var_Level := var_Chart:[Level,1]
		var_Level:Label := "<%ss%>"
		var_Level:Count := 15
	var_Chart:MarkNowColor := RGB(0,0,255)
	var_Chart:MarkNowWidth := 7
	var_Chart:MarkNowTransparent := 50
oDCOCX_Exontrol1:Columns:Add("Tasks")
var_Items := oDCOCX_Exontrol1:Items
	var_Items:AddBar(var_Items:AddItem("Item 1"),"Task",SToD("20080101"),SToD("20180101"),nil,nil)

777
Is there any way to highlight or show a vertical bar that indicates the current time, from 15 to 15 seconds

local var_Level as ILevel

oDCOCX_Exontrol1:Chart:LevelCount := 2
oDCOCX_Exontrol1:Chart:[Level,0]:Label := 1048576
var_Level := oDCOCX_Exontrol1:Chart:[Level,1]
	var_Level:Label := "<%ss%>"
	var_Level:Count := 15
oDCOCX_Exontrol1:Chart:MarkNowColor := RGB(0,0,255)
oDCOCX_Exontrol1:Chart:MarkNowCount := 15
oDCOCX_Exontrol1:Chart:MarkNowWidth := 3

776
Is there any way to highlight or show a vertical bar that indicates the current time, from minute to minute, hour and so on
local var_Chart as IChart

var_Chart := oDCOCX_Exontrol1:Chart
	var_Chart:UnitWidth := 48
	var_Chart:LevelCount := 1
	var_Chart:[Level,0]:Label := 1048576
	var_Chart:MarkNowColor := RGB(255,0,0)
	var_Chart:MarkNowUnit := exMinute
	var_Chart:MarkNowWidth := var_Chart:UnitWidth

775
Is there any way to highlight or show a vertical bar that indicates the current time

local var_Level as ILevel

oDCOCX_Exontrol1:Chart:LevelCount := 2
oDCOCX_Exontrol1:Chart:[Level,0]:Label := 1048576
var_Level := oDCOCX_Exontrol1:Chart:[Level,1]
	var_Level:Label := "<%ss%>"
	var_Level:Count := 15
oDCOCX_Exontrol1:Chart:MarkNowColor := RGB(255,0,0)

774
Is there a way of making a bar flash on the screen
local var_Items as IItems
local h as USUAL

oDCOCX_Exontrol1:Columns:Add("Task")
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
var_Items := oDCOCX_Exontrol1:Items
	h := var_Items:AddItem("Flashy task")
	var_Items:AddBar(h,"Task",SToD("20010102"),SToD("20010106"),"K1",nil)
	var_Items:[ItemBar,h,"K1",exBarTransparent] := 80

773
Is there any option to display overlay bars as a stack, or bars that laid over or cover other bars (exOverlaidBarsStackAutoArrange)

local var_Bar as IBar
local var_Chart as IChart
local var_Items as IItems
local h as USUAL

oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:ScrollBySingleLine := true
oDCOCX_Exontrol1:Columns:Add("Task")
oDCOCX_Exontrol1:DrawGridLines := exHLines
var_Chart := oDCOCX_Exontrol1:Chart
	var_Chart:DrawGridLines := exHLines
	var_Chart:AllowCreateBar := exCreateBarAuto
	var_Chart:AllowLinkBars := false
	var_Chart:ResizeUnitScale := exHour
	var_Chart:[PaneWidth,false] := 48
	var_Chart:FirstVisibleDate := SToD("20010101")
	var_Bar := var_Chart:Bars:[Item,"Task"]
		var_Bar:OverlaidType := exOverlaidBarsStackAutoArrange | exOverlaidBarsStack
		var_Bar:[Overlaid,exOverlaidBarsTransparent] := 80
var_Items := oDCOCX_Exontrol1:Items
	h := var_Items:AddItem("Task 1")
	var_Items:AddBar(h,"Task",SToD("20010102"),SToD("20010104"),"A1",nil)
	var_Items:AddBar(h,"Task",SToD("20010103"),SToD("20010105"),"A2",nil)
	var_Items:AddBar(h,"Task",SToD("20010104"),SToD("20010107"),"A3",nil)
	h := var_Items:AddItem("Task 2")
	var_Items:AddBar(h,"Task",SToD("20010107"),SToD("20010110"),"A1",nil)
	var_Items:AddBar(h,"Task",SToD("20010108"),SToD("20010112"),"A3",nil)
	h := var_Items:AddItem(nil)
	var_Items:[SelectableItem,h] := false
	var_Items:AddBar(h,"",SToD("20010107"),SToD("20010111"),nil,"<fgcolor=FF0000>Click a bar and move to a new position.")
oDCOCX_Exontrol1:EndUpdate()

772
Is there any option to display overlay bars as a stack, or bars that laid over or cover other bars (overlay)

local var_Chart as IChart
local var_Items as IItems
local h as USUAL

oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:ScrollBySingleLine := true
oDCOCX_Exontrol1:Columns:Add("Task")
oDCOCX_Exontrol1:DrawGridLines := exHLines
var_Chart := oDCOCX_Exontrol1:Chart
	var_Chart:DrawGridLines := exHLines
	var_Chart:AllowCreateBar := exCreateBarAuto
	var_Chart:AllowLinkBars := false
	var_Chart:ResizeUnitScale := exHour
	var_Chart:[PaneWidth,false] := 48
	var_Chart:FirstVisibleDate := SToD("20010101")
	var_Chart:Bars:[Item,"Task"]:OverlaidType := exOverlaidBarsStack
var_Items := oDCOCX_Exontrol1:Items
	h := var_Items:AddItem("Task 1")
	var_Items:AddBar(h,"Task",SToD("20010102"),SToD("20010104"),"A1",nil)
	var_Items:AddBar(h,"Task",SToD("20010103"),SToD("20010105"),"A2",nil)
	var_Items:AddBar(h,"Task",SToD("20010104"),SToD("20010107"),"A3",nil)
	h := var_Items:AddItem("Task 2")
	var_Items:AddBar(h,"Task",SToD("20010107"),SToD("20010110"),"A1",nil)
	var_Items:AddBar(h,"Task",SToD("20010108"),SToD("20010112"),"A3",nil)
	h := var_Items:AddItem(nil)
	var_Items:[SelectableItem,h] := false
	var_Items:AddBar(h,"",SToD("20010107"),SToD("20010111"),nil,"<fgcolor=FF0000>Click a bar and move to a new position.")
oDCOCX_Exontrol1:EndUpdate()

771
Does the overlay also work in milestone bars

local var_Bar,var_Bar1 as IBar
local var_Bars as IBars
local var_Chart as IChart
local var_Items as IItems
local h as USUAL

oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:DefaultItemHeight := 22
oDCOCX_Exontrol1:Columns:Add("Task")
var_Chart := oDCOCX_Exontrol1:Chart
	var_Chart:ResizeUnitScale := exHour
	var_Chart:[PaneWidth,false] := 48
	var_Chart:FirstVisibleDate := SToD("20010101")
	var_Bars := var_Chart:Bars
		var_Bar := var_Bars:[Item,"Task"]
			var_Bar:OverlaidType := exOverlaidBarsTransparent | exOverlaidBarsOffset
			var_Bar:OverlaidGroup := "Milestone"
		var_Bar1 := var_Bars:[Item,"Milestone"]
			var_Bar1:OverlaidType := exOverlaidBarsTransparent | exOverlaidBarsOffset
			var_Bar1:OverlaidGroup := "Task"
var_Items := oDCOCX_Exontrol1:Items
	h := var_Items:AddItem("Task 1")
	var_Items:AddBar(h,"Task",SToD("20010104"),SToD("20010107"),"A1",nil)
	var_Items:AddBar(h,"Milestone",SToD("20010108"),SToD("20010108"),"M",nil)
	var_Items:AddBar(h,"Task",SToD("20010109"),SToD("20010112"),"A3",nil)
	h := var_Items:AddItem("Task 2")
	var_Items:AddBar(h,"Milestone",SToD("20010104"),SToD("20010104"),"M",nil)
	var_Items:AddBar(h,"Task",SToD("20010105"),SToD("20010108"),"A1",nil)
	var_Items:AddBar(h,"Task",SToD("20010109"),SToD("20010112"),"A3",nil)
	h := var_Items:AddItem(nil)
	var_Items:[SelectableItem,h] := false
	var_Items:AddBar(h,"",SToD("20010107"),SToD("20010111"),nil,"<fgcolor=FF0000>Click a bar and move to a new position.")
oDCOCX_Exontrol1:EndUpdate()

770
Is there any option to display overlaid bars of different types, or bars that laid over or cover other bars (overlay)

local var_Bar as IBar
local var_Bars as IBars
local var_Chart as IChart
local var_Items as IItems
local h as USUAL

oDCOCX_Exontrol1:DefaultItemHeight := 22
oDCOCX_Exontrol1:Columns:Add("Task")
var_Chart := oDCOCX_Exontrol1:Chart
	var_Chart:ResizeUnitScale := exHour
	var_Chart:[PaneWidth,false] := 48
	var_Chart:FirstVisibleDate := SToD("20010101")
	var_Bars := var_Chart:Bars
		var_Bars:Copy("Task","RTask"):Color := RGB(255,0,0)
		var_Bars:Copy("Task","GTask"):Color := RGB(0,255,0)
		var_Bar := var_Bars:[Item,"Task"]
			var_Bar:OverlaidType := exOverlaidBarsTransparent | exOverlaidBarsOffset
			var_Bar:[Overlaid,exOverlaidBarsTransparent] := 70
			var_Bar:OverlaidGroup := "RTask,GTask"
var_Items := oDCOCX_Exontrol1:Items
	h := var_Items:AddItem("Task 1")
	var_Items:AddBar(h,"Task",SToD("20010102"),SToD("20010104"),"A1",nil)
	var_Items:AddBar(h,"Task",SToD("20010103"),SToD("20010105"),"A2",nil)
	var_Items:AddBar(h,"Task",SToD("20010104"),SToD("20010107"),"A3",nil)
	h := var_Items:AddItem("Task 2")
	var_Items:AddBar(h,"Task",SToD("20010104"),SToD("20010108"),"A1",nil)
	var_Items:AddBar(h,"GTask",SToD("20010107"),SToD("20010112"),"A2",nil)
	var_Items:AddBar(h,"RTask",SToD("20010110"),SToD("20010115"),"A3",nil)
	h := var_Items:AddItem(nil)
	var_Items:[SelectableItem,h] := false
	var_Items:AddBar(h,"",SToD("20010107"),SToD("20010111"),nil,"<fgcolor=FF0000>Click a bar and move to a new position.")

769
Is there any option to display overlaid bars, or bars that laid over or cover other bars (overlay)

local var_Bar,var_Bar1 as IBar
local var_Bars as IBars
local var_Chart as IChart
local var_Items as IItems
local h as USUAL

oDCOCX_Exontrol1:DefaultItemHeight := 22
oDCOCX_Exontrol1:Columns:Add("Task")
var_Chart := oDCOCX_Exontrol1:Chart
	var_Chart:ResizeUnitScale := exHour
	var_Chart:[PaneWidth,false] := 48
	var_Chart:FirstVisibleDate := SToD("20010101")
	var_Bars := var_Chart:Bars
		var_Bar := var_Bars:Copy("Task","BTask")
			var_Bar:Color := RGB(255,0,0)
		var_Bar1 := var_Bars:[Item,"Task"]
			var_Bar1:OverlaidType := exOverlaidBarsIntersect
			var_Bar1:[Overlaid,exOverlaidBarsIntersect] := "BTask"
var_Items := oDCOCX_Exontrol1:Items
	h := var_Items:AddItem("Task 1")
	var_Items:AddBar(h,"Task",SToD("20010102"),SToD("20010104"),"A1",nil)
	var_Items:AddBar(h,"Task",SToD("20010103"),SToD("20010105"),"A2",nil)
	var_Items:AddBar(h,"Task",SToD("20010104"),SToD("20010107"),"A3",nil)
	h := var_Items:AddItem("Task 2")
	var_Items:AddBar(h,"Task",SToD("20010107"),SToD("20010110"),"A1",nil)
	var_Items:AddBar(h,"Task",SToD("20010108"),SToD("20010112"),"A3",nil)
	h := var_Items:AddItem(nil)
	var_Items:[SelectableItem,h] := false
	var_Items:AddBar(h,"",SToD("20010107"),SToD("20010111"),nil,"<fgcolor=FF0000>Click a bar and move to a new position.")

768
Is there any option to display overlaid bars, or bars that laid over or cover other bars (overlay)

local var_Bar as IBar
local var_Chart as IChart
local var_Items as IItems
local h as USUAL

oDCOCX_Exontrol1:DefaultItemHeight := 22
oDCOCX_Exontrol1:Columns:Add("Task")
var_Chart := oDCOCX_Exontrol1:Chart
	var_Chart:ResizeUnitScale := exHour
	var_Chart:[PaneWidth,false] := 48
	var_Chart:FirstVisibleDate := SToD("20010101")
	var_Bar := var_Chart:Bars:[Item,"Task"]
		var_Bar:OverlaidType := exOverlaidBarsTransparent | exOverlaidBarsOffset
		var_Bar:[Overlaid,exOverlaidBarsTransparent] := 70
var_Items := oDCOCX_Exontrol1:Items
	h := var_Items:AddItem("Task 1")
	var_Items:AddBar(h,"Task",SToD("20010102"),SToD("20010104"),"A1",nil)
	var_Items:AddBar(h,"Task",SToD("20010103"),SToD("20010105"),"A2",nil)
	var_Items:AddBar(h,"Task",SToD("20010104"),SToD("20010107"),"A3",nil)
	h := var_Items:AddItem("Task 2")
	var_Items:AddBar(h,"Task",SToD("20010107"),SToD("20010110"),"A1",nil)
	var_Items:AddBar(h,"Task",SToD("20010108"),SToD("20010112"),"A3",nil)
	h := var_Items:AddItem(nil)
	var_Items:[SelectableItem,h] := false
	var_Items:AddBar(h,"",SToD("20010107"),SToD("20010111"),nil,"<fgcolor=FF0000>Click a bar and move to a new position.")

767
Is there any option to display overlaid bars, or bars that laid over or cover other bars (overlay)

local var_Chart as IChart
local var_Items as IItems
local h as USUAL

oDCOCX_Exontrol1:DefaultItemHeight := 22
oDCOCX_Exontrol1:Columns:Add("Task")
var_Chart := oDCOCX_Exontrol1:Chart
	var_Chart:ResizeUnitScale := exHour
	var_Chart:[PaneWidth,false] := 48
	var_Chart:FirstVisibleDate := SToD("20010101")
	var_Chart:Bars:[Item,"Task"]:OverlaidType := exOverlaidBarsOffset
var_Items := oDCOCX_Exontrol1:Items
	h := var_Items:AddItem("Task 1")
	var_Items:AddBar(h,"Task",SToD("20010102"),SToD("20010104"),"A1",nil)
	var_Items:AddBar(h,"Task",SToD("20010103"),SToD("20010105"),"A2",nil)
	var_Items:AddBar(h,"Task",SToD("20010104"),SToD("20010107"),"A3",nil)
	h := var_Items:AddItem("Task 2")
	var_Items:AddBar(h,"Task",SToD("20010107"),SToD("20010110"),"A1",nil)
	var_Items:AddBar(h,"Task",SToD("20010108"),SToD("20010112"),"A3",nil)
	h := var_Items:AddItem(nil)
	var_Items:[SelectableItem,h] := false
	var_Items:AddBar(h,"",SToD("20010107"),SToD("20010111"),nil,"<fgcolor=FF0000>Click a bar and move to a new position.")

766
How can include the values in the inner cells in the drop down filter window
local var_Column as IColumn
local var_Items as IItems
local s as USUAL

oDCOCX_Exontrol1:DrawGridLines := exRowLines
oDCOCX_Exontrol1:VisualAppearance:Add(1,"c:\exontrol\images\normal.ebn")
oDCOCX_Exontrol1:[Description,exFilterBarBlanks] := ""
oDCOCX_Exontrol1:[Description,exFilterBarNonBlanks] := ""
var_Column := IColumn{oDCOCX_Exontrol1:Columns:Add("Single Column")}
	var_Column:HTMLCaption := "Single column with <b>inner cells</b>"
	var_Column:ToolTip := "Click the drop down filter button, and the filter list includes the inner cells values too."
	var_Column:DisplayFilterButton := true
	var_Column:DisplayFilterPattern := false
	var_Column:FilterList := exIncludeInnerCells
oDCOCX_Exontrol1:ShowFocusRect := false
var_Items := oDCOCX_Exontrol1:Items
	s := var_Items:[SplitCell,var_Items:AddItem("S 1.1"),0]
	var_Items:[CellValue,nil,s] := "S 1.2"
	var_Items:[CellHAlignment,nil,s] := CenterAlignment
	var_Items:[CellBackColor,nil,s] := 0x1000000
	var_Items:[CellWidth,nil,s] := 84
	s := var_Items:[SplitCell,var_Items:AddItem("S 2.1"),0]
	var_Items:[CellValue,nil,s] := "S 2.2"
	var_Items:[CellHAlignment,nil,s] := CenterAlignment
	var_Items:[CellWidth,nil,s] := 84
	s := var_Items:[SplitCell,var_Items:AddItem("S 3.1"),0]
	var_Items:[CellValue,nil,s] := "S 3.2"
	var_Items:[CellHAlignment,nil,s] := CenterAlignment
	var_Items:[CellBackColor,nil,s] := 0x1000000
	var_Items:[CellWidth,nil,s] := 84

765
How can I sort the value gets listed in the drop down filter window
local var_Column,var_Column1 as IColumn
local var_Items as IItems
local h as USUAL

oDCOCX_Exontrol1:LinesAtRoot := exLinesAtRoot
oDCOCX_Exontrol1:MarkSearchColumn := false
oDCOCX_Exontrol1:[Description,exFilterBarAll] := ""
oDCOCX_Exontrol1:[Description,exFilterBarBlanks] := ""
oDCOCX_Exontrol1:[Description,exFilterBarNonBlanks] := ""
var_Column := IColumn{oDCOCX_Exontrol1:Columns:Add("P1")}
	var_Column:DisplayFilterButton := true
	var_Column:DisplayFilterPattern := false
	var_Column:FilterList := exSortItemsDesc
var_Column1 := IColumn{oDCOCX_Exontrol1:Columns:Add("P2")}
	var_Column1:DisplayFilterButton := true
	var_Column1:DisplayFilterPattern := false
	var_Column1:FilterList := exSortItemsAsc
var_Items := oDCOCX_Exontrol1:Items
	h := var_Items:AddItem("Z3")
	var_Items:[CellValue,h,1] := "C"
	var_Items:[CellValue,var_Items:InsertItem(h,nil,"Z1"),1] := "B"
	var_Items:[CellValue,var_Items:InsertItem(h,nil,"Z2"),1] := "A"
	var_Items:[ExpandItem,h] := true

764
Is there a way to break the hours into 15 minute increments just showing lines instead of the minute numbers

local var_Level,var_Level1 as ILevel

oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20080205")
oDCOCX_Exontrol1:Chart:LevelCount := 3
oDCOCX_Exontrol1:Chart:[Level,0]:Label := "<b><%mmm%> <%dd%></b> <%yyyy%> "
var_Level := oDCOCX_Exontrol1:Chart:[Level,1]
	var_Level:Label := "<%hh%>"
	var_Level:Alignment := CenterAlignment
var_Level1 := oDCOCX_Exontrol1:Chart:[Level,2]
	var_Level1:Label := ""
	var_Level1:Unit := exMinute
	var_Level1:Count := 15
oDCOCX_Exontrol1:Chart:UnitWidth := 6
oDCOCX_Exontrol1:EndUpdate()

763
How do I specify a range where the bar can be moved or resized and to highlight the range

local var_Items as IItems
local h as USUAL

oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:VisualAppearance:Add(1,"c:\exontrol\images\normal.ebn")
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
oDCOCX_Exontrol1:Chart:[ScrollRange,exStartDate] := SToD("20010101")
oDCOCX_Exontrol1:Chart:[ScrollRange,exEndDate] := SToD("20010107")
oDCOCX_Exontrol1:Chart:[PaneWidth,false] := 128
oDCOCX_Exontrol1:Columns:Add("Column")
var_Items := oDCOCX_Exontrol1:Items
	h := var_Items:AddItem("Item 1")
	var_Items:AddBar(h,"Task",SToD("20010101"),SToD("20010104"),nil,nil)
	var_Items:[ItemBar,h,"",exBarMinStart] := SToD("20010102")
	var_Items:[ItemBar,h,"",exBarMaxEnd] := SToD("20010108")
	var_Items:[ItemBar,h,"",exBarShowRange] := 16777216
	var_Items:[ItemBar,h,"",exBarShowRangeTransparent] := 60
	h := var_Items:AddItem("Item 2")
	var_Items:AddBar(h,"Task",SToD("20010101"),SToD("20010104"),nil,nil)
oDCOCX_Exontrol1:EndUpdate()

762
How do I specify a range where the bar can be moved or resized and to highlight the range

local var_Items as IItems
local h as USUAL

oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
oDCOCX_Exontrol1:Chart:[ScrollRange,exStartDate] := SToD("20010101")
oDCOCX_Exontrol1:Chart:[ScrollRange,exEndDate] := SToD("20010107")
oDCOCX_Exontrol1:Chart:[PaneWidth,false] := 128
oDCOCX_Exontrol1:Columns:Add("Column")
var_Items := oDCOCX_Exontrol1:Items
	h := var_Items:AddItem("Item 1")
	var_Items:AddBar(h,"Task",SToD("20010101"),SToD("20010104"),nil,nil)
	var_Items:[ItemBar,h,"",exBarMinStart] := SToD("20010102")
	var_Items:[ItemBar,h,"",exBarMaxEnd] := SToD("20010108")
	var_Items:[ItemBar,h,"",exBarShowRange] := 32
	var_Items:[ItemBar,h,"",exBarShowRangeTransparent] := 90
	h := var_Items:AddItem("Item 2")
	var_Items:AddBar(h,"Task",SToD("20010101"),SToD("20010104"),nil,nil)
oDCOCX_Exontrol1:EndUpdate()

761
How do I specify a range where the bar can be moved or resized and to highlight the range

local var_Items as IItems
local h as USUAL

oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
oDCOCX_Exontrol1:Chart:[ScrollRange,exStartDate] := SToD("20010101")
oDCOCX_Exontrol1:Chart:[ScrollRange,exEndDate] := SToD("20010107")
oDCOCX_Exontrol1:Chart:[PaneWidth,false] := 128
oDCOCX_Exontrol1:Columns:Add("Column")
var_Items := oDCOCX_Exontrol1:Items
	h := var_Items:AddItem("Item 1")
	var_Items:AddBar(h,"Task",SToD("20010101"),SToD("20010104"),nil,nil)
	var_Items:[ItemBar,h,"",exBarMinStart] := SToD("20010102")
	var_Items:[ItemBar,h,"",exBarMaxEnd] := SToD("20010108")
	var_Items:[ItemBar,h,"",exBarShowRange] := 65286
	var_Items:[ItemBar,h,"",exBarShowRangeTransparent] := 90
	h := var_Items:AddItem("Item 2")
	var_Items:AddBar(h,"Task",SToD("20010101"),SToD("20010104"),nil,nil)
oDCOCX_Exontrol1:EndUpdate()

760
How do I specify a range where the bar can be moved or resized
local var_Items as IItems
local h as USUAL

oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
oDCOCX_Exontrol1:Chart:[ScrollRange,exStartDate] := SToD("20010101")
oDCOCX_Exontrol1:Chart:[ScrollRange,exEndDate] := SToD("20010107")
oDCOCX_Exontrol1:Chart:[PaneWidth,false] := 128
oDCOCX_Exontrol1:Columns:Add("Column")
var_Items := oDCOCX_Exontrol1:Items
	h := var_Items:AddItem("Item 1")
	var_Items:AddBar(h,"Task",SToD("20010101"),SToD("20010104"),nil,nil)
	var_Items:[ItemBar,h,"",exBarMinStart] := SToD("20010102")
	var_Items:[ItemBar,h,"",exBarMaxEnd] := SToD("20010108")
	h := var_Items:AddItem("Item 2")
	var_Items:AddBar(h,"Task",SToD("20010101"),SToD("20010104"),nil,nil)
oDCOCX_Exontrol1:EndUpdate()

759
How can I change the visual appearance of the milestone bar using EBN

local var_Appearance as IAppearance
local var_Bar as IBar
local var_Chart as IChart
local var_Items as IItems

var_Appearance := oDCOCX_Exontrol1:VisualAppearance
	var_Appearance:Add(1,"gBFLBCJwBAEHhEJAEGg4BKMMQAAYAQGKIYBkAKBQAGaAoDDMMILQiMQwjRBMKgBBCLIxiGK4DhiF4aRTHUKAAKQahLEaSZLhEZRQiqA4sS5FQBSBDQFwSByEY6mSaYJAWK4tCyNM7SfQAbxnAgYaLAAYRUjuHZOTZAc4UfAdFL/K4AKrfeZIeAiCRQGiYZyHKaRShjDwXKLIIjbJhkNoJChCNQgBScPgxCx8JypaCaar2fjQM6zWAMdb2Cz7PjDH7wPA1WYJRaDYjhcB4LheAqGXBWUYLYb8XS3EKJYhiWA4HjqFjGJpcEzPbRiNx3H6SABlLLaLo7JpGO52FrTHZjXyzLqBVpoOyEbrmcozYzjN41RpWETfQYDcwteqcLprhGVZrm6dp8j4bAnDQP5Uh+OpcH6R4Lg2YJvEIeg6kWEoJB2ZZyG6GoLCSXxtG+IZ1GmfhJjcawNFWfB/h+V5pnUc5VhWeZ4BMX4jlySwtiAJodlEYRaBYFgHHgIA2gGExkFUdxFl6A5hgUbgXgcVRzFiXA3CICARAEgI")
	var_Appearance:Add(2,"CP:1 -6 0 5 0")
var_Chart := oDCOCX_Exontrol1:Chart
	var_Chart:FirstVisibleDate := SToD("20010101")
	var_Bar := var_Chart:Bars:Add("MilestoneEBN")
		var_Bar:Color := 0x2000000
		var_Bar:Height := 14
oDCOCX_Exontrol1:Columns:Add("Tasks")
var_Items := oDCOCX_Exontrol1:Items
	var_Items:AddBar(var_Items:AddItem("Milestone"),"Milestone",SToD("20010102"),SToD("20010102 00:00:01"),nil,nil)
	var_Items:AddBar(var_Items:AddItem("Milestone EBN "),"MilestoneEBN",SToD("20010102"),SToD("20010102 00:00:01"),nil,nil)

758
How can I change the visual appearance of the summary bar using EBN

local var_Bar as IBar
local var_Chart as IChart
local var_Items as IItems

oDCOCX_Exontrol1:VisualAppearance:Add(1,"gBFLBCJwBAEHhEJAEGg4BGICg6AADACAxRDAMgBQKAAzQFAYZhhBaERiGEaIJhUAIIRZGMQxXAcMQvDSKQJhGDAADEMgyAJCIxjPIgZBoGqPBpASQJUhkMocR7HMygBIkSRNA8kMwxdQEaw9ECRIDpGaYWTFDhsABTVQRLL0Tw9ISERqoSSaGgkCYaA7CNJ0PBNJSjJ6LJZGURbKqyCQ1DBbUB3BaUaQ9JaKa7pKa7cpWKIqSxEMrxcLFcT5DSbYDxGjLEhmPZBVZQNBxtJbFQHWJCNgzVAdOAAfzQM70GpMQoWJYeVpEObSBD1dABTCBczADYoex7ID+aJuGiYVZdWxJOjfbhkTTIJAaCawABrWxR8iHN5paTnUpzDjwbg0kqRRyr+XwjA8Go/HSBp6g6KJTFcGpWmYdg8H6dJTH0EZelueBfBuLwyBMd50nIfR+kmXB4BECQUAaEYMHQHRHCGFRYI2ZAwEIExghQZA2EIQoGGoEhOgGBBYlAeYYHMWJcDcGx4HYHoHmICIFjeBohkaDAAC2DAjBYJIIiKSI2CSC5hjQJBsCOCwYiIKoGmKWJkn6DANkiWgzCwYwolAcQkksWJaCuDohlicg2hDQR+EELBInKcJohMJBomILoGmISQuESFBOgkOQDg+SoTEyfoXCUSImDyGZhjkaI1hcJgTnoXgACYCYKG2GQkEkVJchKIoZDIbIciYKY+HEP4mlmThSg+aBIlKBYUCUKgGHyG4jEkPoKiAKI6D6EokGkSgyECF5jEKVJZD+aYqHKG4nGoCh+iKJ4qEqBokh+KYag6JoqmqKo2iWJpqgKRJHDiT5qk6NYtCsapmjiLprHqdo6i8awan6QovCwOp6kSLQsBsHpGjKbBbBaMYhm0CgalILBtBsUpTiGUIUAQgIA==")
var_Chart := oDCOCX_Exontrol1:Chart
	var_Chart:FirstVisibleDate := SToD("20010101")
	var_Bar := var_Chart:Bars:Copy("Task","Summary")
		var_Bar:Color := 0x1000000
		var_Bar:Height := 16
oDCOCX_Exontrol1:Columns:Add("Tasks")
var_Items := oDCOCX_Exontrol1:Items
	var_Items:AddBar(var_Items:AddItem("Task 1"),"Task",SToD("20010102"),SToD("20010104"),nil,nil)
	var_Items:AddBar(var_Items:AddItem("Task 2"),"Summary",SToD("20010105"),SToD("20010107"),nil,nil)

757
How can I change the visual appearance of the task bar using EBN

local var_Bar as IBar
local var_Chart as IChart
local var_Items as IItems

oDCOCX_Exontrol1:VisualAppearance:Add(1,"gBFLBCJwBAEHhEJAEGg4BGoCg6AADACAxRDAMgBQKAAzQFAYZhhBaERiGEaIJhUAIIRZGMQxXAcMQvDSKQJhGLhQiSJoJDSBEgSXDIZQ5D6OZYACDJQACJYJTbAYzyPJkPRAA6EZCmGAwCglf5HABRb7xNLkbQ8GySKJnWCQJhoD5BSLCNRUTRFFQtGgZBpEWwLCjQNQwWLKFoTJIEPSBDKqYDoKYqTgOOZOThHQz3HakQRdAa/ZpnaKpUo2d47XjMWBwGA0EzeAAGaxoShqdoiFaGU7UOJVJBOGwHK6BchoMAKbp6XoVWRaOAWLZWVABM7XLZxbLccyGfZ1XhdV5UbqUMznR7PNrjLKIJpCOJbbyAFwgBaeQABYLhK7iHRmi8XYwjMWpjFWOx1GIB5LmgdB4HCEBECSIBpDGHQOicIwokYPImikEIJj6eJIloEgogSc40FGcJEFiYZIG2VIoAURw1g2QxyAQNwNAMPJOgIYI4CoDIBmAeAKBIUpQDUKJYDoTpIB4vxgmgdgNgeYZDDoFw7CEJhQn+BohmKfImCWSZRlgYwikYMQ0gwF4DniTA/gwBJYjQYwsgoIg6AyCRQDiIJODAZBImoOguAmMZ4lQLIJjOMI3CYZJpEIT4KiKSI6DqD5ZGAAgHC2DAjBYR4SGUGYGE+GIlCmFhRhIB5iFAbwWsiJgMhoCoxngV4ZCcSYOHaGYnHmIg8COJpoCoOISmSWZeHWHgoEkRoAg4EIYB4NogmiSgKg6GRjGoJgFh+ZJKDaBYjmgaQygiBRUHmbhoDsTAyiqIIoioGoOw8aoKhKKoemeOIaAeF5HmqHoqiyKxKgYaN/locgBiuZRojoVIok8cwsjaMBLGqDoAhGIpoEYWYEmAIxUkQLZmgiYg2g2I4JiCQwuAqWIOIkEAQICA==")
var_Chart := oDCOCX_Exontrol1:Chart
	var_Chart:FirstVisibleDate := SToD("20010101")
	var_Bar := var_Chart:Bars:[Item,"Task"]
		var_Bar:Color := 0x1000000
		var_Bar:Height := 16
oDCOCX_Exontrol1:Columns:Add("Tasks")
var_Items := oDCOCX_Exontrol1:Items
	var_Items:AddBar(var_Items:AddItem("Task 1"),"Task",SToD("20010102"),SToD("20010104"),nil,nil)
	var_Items:AddBar(var_Items:AddItem("Task 2"),"Task",SToD("20010105"),SToD("20010107"),nil,nil)

756
How can I change the visual appearance of the task bar using EBN

local var_Bar as IBar
local var_Chart as IChart
local var_Items as IItems

oDCOCX_Exontrol1:VisualAppearance:Add(1,"gBFLBCJwBAEHhEJAEGg4BZsIQAAYAQGKIYBkAKBQAGaAoDDMMILQiMQwjRBMKgBBCLIxiGK4DhiGoZATCMbDBIcSwSGgCJCjeS4ZDKHIXSxFUKTBAcSQTGyBRokaYZRi6A4+TRPETTWAEcABHSbQCoKTKAoCHpLQLMYxDKItJSpGYaRgqWCaZpuUIaUzKVbxbK9CSMGiQbIsOJrBqqQozWZHVITLR9VgBNqga7uGR5DoqdovU5dVTVda9Ly5LSsMQvfALCqOe45URdNp3RiVBYfI6+cZvfJLWh4NqeAbCMC1UJoYhlUKCBg0TRoVo9AIDX5QWaYXC0AkBA==")
var_Chart := oDCOCX_Exontrol1:Chart
	var_Chart:FirstVisibleDate := SToD("20010101")
	var_Bar := var_Chart:Bars:[Item,"Task"]
		var_Bar:Color := 0x1000000
		var_Bar:Height := 16
oDCOCX_Exontrol1:Columns:Add("Tasks")
var_Items := oDCOCX_Exontrol1:Items
	var_Items:AddBar(var_Items:AddItem("Task 1"),"Task",SToD("20010102"),SToD("20010104"),nil,nil)
	var_Items:AddBar(var_Items:AddItem("Task 2"),"Task",SToD("20010105"),SToD("20010107"),nil,nil)

755
Is there any way to change the units and count of units used in resizing or moving a bar

local var_Chart as IChart
local var_Items as IItems
local var_Level as ILevel
local h,h1 as USUAL

oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:Columns:Add("Task")
var_Chart := oDCOCX_Exontrol1:Chart
	var_Chart:AllowCreateBar := exNoCreateBar
	var_Chart:DrawGridLines := exAllLines
	var_Chart:[PaneWidth,false] := 64
	var_Chart:FirstVisibleDate := SToD("20050621")
	var_Chart:ResizeUnitScale := exHour
	var_Chart:ResizeUnitCount := 8
	var_Chart:UnitWidth := 64
	var_Level := var_Chart:[Level,0]
		var_Level:Label := "<b><%mmm%></b> <%dd%>"
		var_Level:DrawGridLines := true
var_Items := oDCOCX_Exontrol1:Items
	h := var_Items:AddItem("Root")
	var_Items:AddBar(h,"Task",SToD("20050622"),SToD("20050623 16:00:00"),nil,nil)
	h1 := var_Items:InsertItem(h,nil,"Task 1")
	var_Items:AddBar(h1,"",SToD("20050622"),SToD("20050624"),nil,"some <font Comic Sans MS;12><a>text</a></font> here")
	h1 := var_Items:InsertItem(h,nil,"Task 2")
	var_Items:AddBar(h1,"Task",SToD("20050623 08:00:00"),SToD("20050628"),nil,nil)
	var_Items:AddLink("Link1",h,"",h1,"")
	var_Items:[Link,"Link1",exLinkStartPos] := 0
	var_Items:[Link,"Link1",exLinkText] := "<bgcolor=FFFFFF> Link <a>1</a> </bgcolor>"
	var_Items:[ExpandItem,h] := true
oDCOCX_Exontrol1:EndUpdate()

754
When trying to resize, move or create a bar, it appears that you can only resize, move or create it in the units that were specified for the level in the timeline. Is there any way to change the units used in resizing or moving a bar
local var_Chart as IChart
local var_Items as IItems
local h,h1 as USUAL

oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:Columns:Add("Task")
var_Chart := oDCOCX_Exontrol1:Chart
	var_Chart:AllowCreateBar := exNoCreateBar
	var_Chart:[PaneWidth,false] := 64
	var_Chart:FirstVisibleDate := SToD("20050621")
	var_Chart:ResizeUnitScale := exHour
	var_Chart:UnitWidth := 64
	var_Chart:[Level,0]:Label := "<b><%mmm%></b> <%dd%>"
var_Items := oDCOCX_Exontrol1:Items
	h := var_Items:AddItem("Root")
	var_Items:AddBar(h,"Task",SToD("20050622"),SToD("20050623 16:00:00"),nil,nil)
	h1 := var_Items:InsertItem(h,nil,"Task 1")
	var_Items:AddBar(h1,"",SToD("20050622"),SToD("20050624"),nil,"some <font Comic Sans MS;12><a>text</a></font> here")
	h1 := var_Items:InsertItem(h,nil,"Task 2")
	var_Items:AddBar(h1,"Task",SToD("20050623 08:00:00"),SToD("20050628"),nil,nil)
	var_Items:AddLink("Link1",h,"",h1,"")
	var_Items:[Link,"Link1",exLinkStartPos] := 0
	var_Items:[Link,"Link1",exLinkText] := "<bgcolor=FFFFFF> Link <a>1</a> </bgcolor>"
	var_Items:[ExpandItem,h] := true
oDCOCX_Exontrol1:EndUpdate()

753
How can I clip the HTML text or caption inside the bar
local var_Bar as IBar
local var_Items as IItems
local h as USUAL

oDCOCX_Exontrol1:Columns:Add("Task")
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
var_Bar := oDCOCX_Exontrol1:Chart:Bars:[Item,"Task"]
	var_Bar:Pattern := exPatternBox
	var_Bar:Height := 13
var_Items := oDCOCX_Exontrol1:Items
	h := var_Items:AddItem("Task 1")
	var_Items:AddBar(h,"Task",SToD("20010102"),SToD("20010106"),"K1","This is a bit of text that get's clipped")
	var_Items:[ItemBar,h,"K1",exBarHAlignCaption] := 3

752
How to show the overallocation/workload histogram

local var_Bar as IBar
local var_Chart as IChart
local var_Items as IItems
local h,h1 as USUAL

oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:Columns:Add("Tasks")
var_Chart := oDCOCX_Exontrol1:Chart
	var_Chart:LevelCount := 2
	var_Chart:NonworkingDays := 0
	var_Chart:[PaneWidth,false] := 70
	var_Chart:FirstVisibleDate := SToD("20050620")
	var_Chart:HistogramVisible := true
	var_Chart:HistogramHeight := 64
	var_Bar := var_Chart:Bars:[Item,"Task"]
		var_Bar:HistogramCriticalColor := RGB(255,0,0)
		var_Bar:HistogramPattern := exBezierCurve
		var_Bar:HistogramType := exHistOverAllocation
var_Items := oDCOCX_Exontrol1:Items
	h := var_Items:AddItem("Root")
	var_Items:AddBar(h,"Summary",SToD("20050621"),SToD("20050701"),nil,nil)
	h1 := var_Items:InsertItem(h,nil,"Task 1")
	var_Items:AddBar(h1,"Task",SToD("20050621"),SToD("20050628"),nil,nil)
	h1 := var_Items:InsertItem(h,nil,"Task 2")
	var_Items:AddBar(h1,"Task",SToD("20050623"),SToD("20050701"),"E",nil)
	var_Items:[ItemBar,h1,"E",exBarEffort] := 5
	h1 := var_Items:InsertItem(h,nil,"Task 3")
	var_Items:AddBar(h1,"Task",SToD("20050625"),SToD("20050627"),"E",nil)
	var_Items:[ItemBar,h1,"E",exBarEffort] := 2
	var_Items:[ItemBar,h1,"E",exBarCaption] := "move/resize this"
	var_Items:[ItemBar,h1,"E",exBarHAlignCaption] := 18
	var_Items:[ItemBar,h1,"E",exBarToolTip] := "Click the bar and move or resize it. The histogram-graph will be updated."
	var_Items:AddLink("Link1",h,"",h1,"E")
	var_Items:[Link,"Link1",exLinkStartPos] := 0
	var_Items:[ExpandItem,h] := true
oDCOCX_Exontrol1:EndUpdate()

751
How to show the overload histogram

local var_Bar as IBar
local var_Chart as IChart
local var_Items as IItems
local h,h1 as USUAL

oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:Columns:Add("Tasks")
var_Chart := oDCOCX_Exontrol1:Chart
	var_Chart:LevelCount := 2
	var_Chart:NonworkingDays := 0
	var_Chart:[PaneWidth,false] := 70
	var_Chart:FirstVisibleDate := SToD("20050620")
	var_Chart:HistogramVisible := true
	var_Chart:HistogramHeight := 64
	var_Bar := var_Chart:Bars:[Item,"Task"]
		var_Bar:HistogramPattern := 0x100 | exPatternDot
		var_Bar:HistogramType := exHistOverload
var_Items := oDCOCX_Exontrol1:Items
	h := var_Items:AddItem("Root")
	var_Items:AddBar(h,"Summary",SToD("20050621"),SToD("20050701"),nil,nil)
	h1 := var_Items:InsertItem(h,nil,"Task 1")
	var_Items:AddBar(h1,"Task",SToD("20050621"),SToD("20050628"),nil,nil)
	h1 := var_Items:InsertItem(h,nil,"Task 2")
	var_Items:AddBar(h1,"Task",SToD("20050623"),SToD("20050701"),"E",nil)
	var_Items:[ItemBar,h1,"E",exBarEffort] := 5
	h1 := var_Items:InsertItem(h,nil,"Task 3")
	var_Items:AddBar(h1,"Task",SToD("20050625"),SToD("20050627"),"E",nil)
	var_Items:[ItemBar,h1,"E",exBarEffort] := 2
	var_Items:[ItemBar,h1,"E",exBarCaption] := "move/resize this"
	var_Items:[ItemBar,h1,"E",exBarHAlignCaption] := 18
	var_Items:[ItemBar,h1,"E",exBarToolTip] := "Click the bar and move or resize it. The histogram-graph will be updated."
	var_Items:AddLink("Link1",h,"",h1,"E")
	var_Items:[Link,"Link1",exLinkStartPos] := 0
	var_Items:[ExpandItem,h] := true
oDCOCX_Exontrol1:EndUpdate()

750
How can I align the text/caption on the scroll bar

oDCOCX_Exontrol1:[ScrollPartCaption,exHScroll,exLowerBackPart] := "left"
oDCOCX_Exontrol1:[ScrollPartCaptionAlignment,exHScroll,exLowerBackPart] := LeftAlignment
oDCOCX_Exontrol1:[ScrollPartCaption,exHScroll,exUpperBackPart] := "right"
oDCOCX_Exontrol1:[ScrollPartCaptionAlignment,exHScroll,exUpperBackPart] := RightAlignment
oDCOCX_Exontrol1:ColumnAutoResize := false
oDCOCX_Exontrol1:Columns:Add(AsString(1))
oDCOCX_Exontrol1:Columns:Add(AsString(2))
oDCOCX_Exontrol1:Columns:Add(AsString(3))
oDCOCX_Exontrol1:Columns:Add(AsString(4))

749
How do I programmatically control the position of the horizontal scroll bar in the chart area, so I can specify a range of dates to scorll within
local var_Chart as IChart
local var_Items as IItems
local h as USUAL

oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:Columns:Add("Task")
var_Chart := oDCOCX_Exontrol1:Chart
	var_Chart:LevelCount := 2
	var_Chart:[PaneWidth,false] := 56
	var_Chart:[ScrollRange,exStartDate] := SToD("20010101")
	var_Chart:[ScrollRange,exEndDate] := SToD("20010131")
	var_Chart:FirstVisibleDate := SToD("20010112")
oDCOCX_Exontrol1:[ScrollPartCaption,exHChartScroll,exLowerBackPart] := AsString(oDCOCX_Exontrol1:Chart:[ScrollRange,exStartDate])
oDCOCX_Exontrol1:[ScrollPartCaptionAlignment,exHChartScroll,exLowerBackPart] := LeftAlignment
oDCOCX_Exontrol1:[ScrollPartCaption,exHChartScroll,exUpperBackPart] := AsString(oDCOCX_Exontrol1:Chart:[ScrollRange,exEndDate])
oDCOCX_Exontrol1:[ScrollPartCaptionAlignment,exHChartScroll,exUpperBackPart] := RightAlignment
var_Items := oDCOCX_Exontrol1:Items
	h := var_Items:AddItem("Task 1")
	var_Items:AddBar(h,"Task",SToD("20010115"),SToD("20010118"),"K1",nil)
	h := var_Items:AddItem("Task 1")
	var_Items:AddBar(h,"Task",SToD("20010105"),SToD("20010111"),"K1",nil)
oDCOCX_Exontrol1:EndUpdate()

748
How can I programmatically control the position of the "splitter" between the item list on the left side and the gantt chart on the right

oDCOCX_Exontrol1:Chart:[PaneWidth,true] := 196

747
How can I add a milestone bar and some text in the chart area

local var_Items as IItems
local h as USUAL

oDCOCX_Exontrol1:Columns:Add("Task")
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
var_Items := oDCOCX_Exontrol1:Items
	h := var_Items:AddItem("Task 1")
	var_Items:AddBar(h,"Milestone",SToD("20010102"),SToD("20010102"),nil,"<a1>text</a> outside")
	var_Items:[ItemBar,h,nil,exBarHAlignCaption] := 18

746
How can I display or align the bar's caption or text outside of the bar

local var_Items as IItems
local h as USUAL

oDCOCX_Exontrol1:Columns:Add("Task")
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
oDCOCX_Exontrol1:DefaultItemHeight := 32
var_Items := oDCOCX_Exontrol1:Items
	h := var_Items:AddItem("Task 1")
	var_Items:AddBar(h,"Task",SToD("20010103"),SToD("20010105"),"K1",nil)
	var_Items:[ItemBar,h,"K1",exBarCaption] := "<b>to do</b>"
	var_Items:[ItemBar,h,"K1",exBarHAlignCaption] := 18
	var_Items:[ItemBar,h,"K1",exBarVAlignCaption] := 16

745
How can I display or align the bar's caption or text outside of the bar

local var_Items as IItems
local h as USUAL

oDCOCX_Exontrol1:Columns:Add("Task")
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
var_Items := oDCOCX_Exontrol1:Items
	h := var_Items:AddItem("Task 1")
	var_Items:AddBar(h,"Task",SToD("20010104"),SToD("20010106"),"K1",nil)
	var_Items:[ItemBar,h,"K1",exBarCaption] := "to do"
	var_Items:[ItemBar,h,"K1",exBarHAlignCaption] := 16

744
How can I display or align the bar's caption or text outside of the bar

local var_Items as IItems
local h as USUAL

oDCOCX_Exontrol1:Columns:Add("Task")
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
var_Items := oDCOCX_Exontrol1:Items
	h := var_Items:AddItem("Task 1")
	var_Items:AddBar(h,"Task",SToD("20010102"),SToD("20010106"),"K1",nil)
	var_Items:[ItemBar,h,"K1",exBarCaption] := "to do "
	var_Items:[ItemBar,h,"K1",exBarHAlignCaption] := 18

743
Is there any option to keep the working days being constant while user moves the bar
local var_Items as IItems
local h as USUAL

oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20020101")
oDCOCX_Exontrol1:Chart:Bars:Add("Task:Split"):Shortcut := "Task"
oDCOCX_Exontrol1:Columns:Add("Task")
var_Items := oDCOCX_Exontrol1:Items
	h := var_Items:AddItem("Task 1")
	var_Items:AddBar(h,"Task",SToD("20020102"),SToD("20020104"),"A",nil)
	var_Items:[ItemBar,h,"A",exBarKeepWorkingCount] := true
oDCOCX_Exontrol1:EndUpdate()

742
Is there any option to count or to specify the working days

local var_Items as IItems
local h as USUAL

oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20020101")
oDCOCX_Exontrol1:Columns:Add("Task")
oDCOCX_Exontrol1:Chart:Bars:Add("Task:Split"):Shortcut := "S"
oDCOCX_Exontrol1:Chart:[PaneWidth,false] := 48
var_Items := oDCOCX_Exontrol1:Items
	h := var_Items:AddItem("Task 1")
	var_Items:AddBar(h,"S",SToD("20020103"),SToD("20020104"),"A",nil)
	var_Items:[ItemBar,h,"A",exBarWorkingCount] := 4
oDCOCX_Exontrol1:EndUpdate()

741
How do I select the next row/item
local var_Items as IItems

oDCOCX_Exontrol1:Columns:Add("Column")
var_Items := oDCOCX_Exontrol1:Items
	var_Items:AddItem("Item 1")
	var_Items:AddItem("Item 2")
	var_Items:AddItem("Item 3")
	var_Items:[SelectItem,var_Items:[NextVisibleItem,var_Items:FocusItem]] := true

740
How do I get the selected bars or links

local var_Items as IItems
local h as USUAL

oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:Chart:AllowSelectObjects := exSelectBarsOnly
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20020101")
oDCOCX_Exontrol1:Columns:Add("Task")
var_Items := oDCOCX_Exontrol1:Items
	h := var_Items:AddItem("Task 1")
	var_Items:AddBar(h,"Task",SToD("20020102"),SToD("20020104"),"A",nil)
	var_Items:AddBar(h,"Task",SToD("20020106"),SToD("20020110"),"B",nil)
	var_Items:[ItemBar,h,"A",exBarSelected] := true
oDCOCX_Exontrol1:EndUpdate()
OutputDebugString(String2Psz( "Bars" ))
OutputDebugString(String2Psz( AsString(oDCOCX_Exontrol1:Items:[SelectedObjects,exSelectBarsOnly]) ))
OutputDebugString(String2Psz( "Links" ))
OutputDebugString(String2Psz( AsString(oDCOCX_Exontrol1:Items:[SelectedObjects,exSelectLinksOnly]) ))

739
How can I allow a single link being selected in the chart

local var_Items as IItems
local h1,h2 as USUAL

oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:Chart:AllowSelectObjects := exSelectSingleObject | exSelectLinksOnly
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20020101")
oDCOCX_Exontrol1:Columns:Add("Task")
var_Items := oDCOCX_Exontrol1:Items
	h1 := var_Items:AddItem("Task 1")
	var_Items:AddBar(h1,"Task",SToD("20020102"),SToD("20020104"),"A",nil)
	h2 := var_Items:AddItem("Task 2")
	var_Items:AddBar(h2,"Task",SToD("20020106"),SToD("20020110"),"B",nil)
	var_Items:AddLink("AB",h1,"A",h2,"B")
	var_Items:AddLink("BA",h2,"B",h1,"A")
	var_Items:[Link,"AB",exLinkSelected] := true
oDCOCX_Exontrol1:EndUpdate()

738
How can I allow a single bar being selected in the chart

local var_Items as IItems
local h as USUAL

oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:Chart:AllowSelectObjects := exSelectSingleObject | exSelectBarsOnly
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20020101")
oDCOCX_Exontrol1:Columns:Add("Task")
var_Items := oDCOCX_Exontrol1:Items
	h := var_Items:AddItem("Task 1")
	var_Items:AddBar(h,"Task",SToD("20020102"),SToD("20020104"),"A",nil)
	var_Items:AddBar(h,"Task",SToD("20020106"),SToD("20020110"),"B",nil)
	var_Items:[ItemBar,h,"A",exBarSelected] := true
	var_Items:AddLink("AB",h,"A",h,"B")
oDCOCX_Exontrol1:EndUpdate()

737
How do I define the visual appearance of the bar by using your EBN/skin files

local var_Items as IItems

oDCOCX_Exontrol1:VisualAppearance:Add(1,"c:\exontrol\images\normal.ebn")
oDCOCX_Exontrol1:Chart:Bars:Copy("Task","EBN"):Color := 0x1000000
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
oDCOCX_Exontrol1:Columns:Add("Column")
var_Items := oDCOCX_Exontrol1:Items
	var_Items:AddBar(var_Items:AddItem("Item 1"),"EBN",SToD("20010102"),SToD("20010104"),nil,nil)
	var_Items:AddBar(var_Items:AddItem("Item 2"),"Task",SToD("20010102"),SToD("20010104"),nil,nil)

736
Is it possible to have an "empty box" pattern for the bars

local var_Items as IItems

oDCOCX_Exontrol1:Chart:Bars:Copy("Task","Box"):Pattern := exPatternBox
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
oDCOCX_Exontrol1:Columns:Add("Column")
var_Items := oDCOCX_Exontrol1:Items
	var_Items:AddBar(var_Items:AddItem("Item 1"),"Box",SToD("20010102"),SToD("20010104"),nil,nil)
	var_Items:AddBar(var_Items:AddItem("Item 1"),"Task",SToD("20010102"),SToD("20010104"),nil,nil)

735
How do I enable resizing ( changing the height ) the items at runtime
local var_Items as IItems

oDCOCX_Exontrol1:ItemsAllowSizing := exResizeItem
oDCOCX_Exontrol1:DrawGridLines := exHLines
oDCOCX_Exontrol1:ScrollBySingleLine := true
oDCOCX_Exontrol1:Columns:Add("Column")
oDCOCX_Exontrol1:Items:AddItem("Item 1")
var_Items := oDCOCX_Exontrol1:Items
	var_Items:[ItemHeight,var_Items:AddItem("Item 2")] := 48
oDCOCX_Exontrol1:Items:AddItem("Item 3")

734
How do I enable resizing all the items at runtime
local var_Items as IItems

oDCOCX_Exontrol1:ItemsAllowSizing := exResizeAllItems
oDCOCX_Exontrol1:DrawGridLines := exHLines
oDCOCX_Exontrol1:Columns:Add("Column")
oDCOCX_Exontrol1:Items:AddItem("Item 1")
var_Items := oDCOCX_Exontrol1:Items
	var_Items:[ItemHeight,var_Items:AddItem("Item 2")] := 48
oDCOCX_Exontrol1:Items:AddItem("Item 3")

733
How can I use your EBN files in the histogram

local var_Bar as IBar
local var_Chart as IChart
local var_Items as IItems

oDCOCX_Exontrol1:VisualAppearance:Add(1,"c:\exontrol\images\normal.ebn")
var_Chart := oDCOCX_Exontrol1:Chart
	var_Chart:FirstVisibleDate := SToD("20010101")
	var_Chart:HistogramVisible := true
	var_Chart:HistogramHeight := 32
	var_Bar := var_Chart:Bars:[Item,"Task"]
		var_Bar:HistogramPattern := exPatternEmpty
		var_Bar:HistogramColor := 0x1000000
oDCOCX_Exontrol1:Columns:Add("Column")
var_Items := oDCOCX_Exontrol1:Items
	var_Items:AddBar(var_Items:AddItem("Item 1"),"Task",SToD("20010102"),SToD("20010104"),nil,nil)
	var_Items:AddBar(var_Items:AddItem("Item 1"),"Task",SToD("20010103"),SToD("20010107"),nil,nil)

732
How can I draw only the shape of the bars in the histogram

local var_Bar as IBar
local var_Chart as IChart
local var_Items as IItems

var_Chart := oDCOCX_Exontrol1:Chart
	var_Chart:FirstVisibleDate := SToD("20010101")
	var_Chart:HistogramVisible := true
	var_Chart:HistogramHeight := 32
	var_Bar := var_Chart:Bars:[Item,"Task"]
		var_Bar:HistogramPattern := exBezierCurve
		var_Bar:HistogramColor := RGB(255,0,0)
oDCOCX_Exontrol1:Columns:Add("Column")
var_Items := oDCOCX_Exontrol1:Items
	var_Items:AddBar(var_Items:AddItem("Item 1"),"Task",SToD("20010102"),SToD("20010104"),nil,nil)
	var_Items:AddBar(var_Items:AddItem("Item 1"),"Task",SToD("20010103"),SToD("20010107"),nil,nil)

731
How can I draw only the shape of the bars in the histogram

local var_Bar as IBar
local var_Chart as IChart
local var_Items as IItems

var_Chart := oDCOCX_Exontrol1:Chart
	var_Chart:FirstVisibleDate := SToD("20010101")
	var_Chart:HistogramVisible := true
	var_Chart:HistogramHeight := 32
	var_Bar := var_Chart:Bars:[Item,"Task"]
		var_Bar:HistogramPattern := 0x100 | 
		var_Bar:HistogramColor := RGB(255,0,0)
oDCOCX_Exontrol1:Columns:Add("Column")
var_Items := oDCOCX_Exontrol1:Items
	var_Items:AddBar(var_Items:AddItem("Item 1"),"Task",SToD("20010102"),SToD("20010104"),nil,nil)
	var_Items:AddBar(var_Items:AddItem("Item 1"),"Task",SToD("20010103"),SToD("20010107"),nil,nil)

730
How can I change the color of bars in the histogram

local var_Bar as IBar
local var_Chart as IChart
local var_Items as IItems

var_Chart := oDCOCX_Exontrol1:Chart
	var_Chart:FirstVisibleDate := SToD("20010101")
	var_Chart:HistogramVisible := true
	var_Chart:HistogramHeight := 32
	var_Bar := var_Chart:Bars:[Item,"Task"]
		var_Bar:HistogramPattern := exPatternBDiagonal
		var_Bar:HistogramColor := RGB(255,0,0)
oDCOCX_Exontrol1:Columns:Add("Column")
var_Items := oDCOCX_Exontrol1:Items
	var_Items:AddBar(var_Items:AddItem("Item 1"),"Task",SToD("20010102"),SToD("20010104"),nil,nil)
	var_Items:AddBar(var_Items:AddItem("Item 1"),"Task",SToD("20010103"),SToD("20010107"),nil,nil)

729
How can I show my bars in the histogram

local var_Chart as IChart
local var_Items as IItems

var_Chart := oDCOCX_Exontrol1:Chart
	var_Chart:FirstVisibleDate := SToD("20010101")
	var_Chart:HistogramVisible := true
	var_Chart:HistogramHeight := 32
	var_Chart:Bars:[Item,"Task"]:HistogramPattern := exPatternBDiagonal
oDCOCX_Exontrol1:Columns:Add("Column")
var_Items := oDCOCX_Exontrol1:Items
	var_Items:AddBar(var_Items:AddItem("Item 1"),"Task",SToD("20010102"),SToD("20010104"),nil,nil)
	var_Items:AddBar(var_Items:AddItem("Item 1"),"Task",SToD("20010103"),SToD("20010107"),nil,nil)

728
I'm trying to use the percentage display in my gantt's bars. Unfortunately, I don't see any percentage on the gantt chart

local var_Bar as IBar
local var_Items as IItems
local h as USUAL

oDCOCX_Exontrol1:Columns:Add("Task")
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
var_Bar := oDCOCX_Exontrol1:Chart:Bars:Copy("Task","BarName")
	var_Bar:Color := RGB(255,0,0)
	var_Bar:Pattern := exPatternBDiagonal
oDCOCX_Exontrol1:Chart:Bars:Add("BarName%Progress"):Shortcut := "Percent"
var_Items := oDCOCX_Exontrol1:Items
	h := var_Items:AddItem("Task 1")
	var_Items:AddBar(h,"Percent",SToD("20010102"),SToD("20010106"),"K1",nil)
	var_Items:[ItemBar,h,"K1",exBarPercent] := 0.4
	var_Items:[ItemBar,h,"K1",exBarShowPercentCaption] := true

727
How can I show the histogram
local var_Level as ILevel

oDCOCX_Exontrol1:Chart:LevelCount := 2
oDCOCX_Exontrol1:Chart:[Level,0]:Label := 0
var_Level := oDCOCX_Exontrol1:Chart:[Level,1]
	var_Level:Label := "<%mr%>"
	var_Level:Unit := exMonth
oDCOCX_Exontrol1:Chart:HistogramVisible := true

726
How I can show Months in Time Unit panel into Roman numerals

local var_Level as ILevel

oDCOCX_Exontrol1:Chart:LevelCount := 2
oDCOCX_Exontrol1:Chart:[Level,0]:Label := 0
var_Level := oDCOCX_Exontrol1:Chart:[Level,1]
	var_Level:Label := "<%mr%>"
	var_Level:Unit := exMonth

725
Can I show a bar with a different vertical position

local var_Items as IItems
local h as USUAL

oDCOCX_Exontrol1:Columns:Add("Task")
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
var_Items := oDCOCX_Exontrol1:Items
	h := var_Items:AddItem("Opaque")
	var_Items:AddBar(h,"Task",SToD("20010102"),SToD("20010106"),"K1",nil)
	h := var_Items:AddItem("Transparent and Opaque")
	var_Items:AddBar(h,"Task",SToD("20010102"),SToD("20010106"),"K1",nil)
	var_Items:[ItemBar,h,"K1",exBarOffset] := "-3"
	var_Items:[ItemBar,h,"K1",exBarTransparent] := 80
	var_Items:AddBar(h,"Task",SToD("20010103"),SToD("20010107"),"K2",nil)

724
How can I show transparent and opaque bars in the same chart

local var_Items as IItems
local h as USUAL

oDCOCX_Exontrol1:Columns:Add("Task")
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
var_Items := oDCOCX_Exontrol1:Items
	h := var_Items:AddItem("Opaque")
	var_Items:AddBar(h,"Task",SToD("20010102"),SToD("20010106"),"K1",nil)
	h := var_Items:AddItem("Transparent and Opaque")
	var_Items:AddBar(h,"Task",SToD("20010102"),SToD("20010106"),"K1",nil)
	var_Items:[ItemBar,h,"K1",exBarOffset] := "-3"
	var_Items:[ItemBar,h,"K1",exBarTransparent] := 80
	var_Items:AddBar(h,"Task",SToD("20010103"),SToD("20010107"),"K2",nil)

723
How can I draw bars using transparent colors

local var_Items as IItems
local h as USUAL

oDCOCX_Exontrol1:Chart:ShowTransparentBars := 60
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
oDCOCX_Exontrol1:Chart:Bars:Copy("Task","TaskR"):Color := RGB(255,0,0)
oDCOCX_Exontrol1:Chart:[PaneWidth,false] := 48
oDCOCX_Exontrol1:Columns:Add("Column")
var_Items := oDCOCX_Exontrol1:Items
	h := var_Items:AddItem("Item 1")
	var_Items:AddBar(h,"Task",SToD("20010102"),SToD("20010105"),"A",nil)
	var_Items:AddBar(h,"TaskR",SToD("20010104"),SToD("20010107"),"B",nil)

722
How do I select bars and links in the chart area, by dragging
local var_Items as IItems
local h1,h2 as USUAL

oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:Chart:AllowSelectObjects := exSelectObjects
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20020101")
oDCOCX_Exontrol1:Columns:Add("Task")
var_Items := oDCOCX_Exontrol1:Items
	h1 := var_Items:AddItem("Task 1")
	var_Items:AddBar(h1,"Task",SToD("20020102"),SToD("20020104"),"A",nil)
	h2 := var_Items:AddItem("Task 2")
	var_Items:AddBar(h2,"Task",SToD("20020106"),SToD("20020110"),"B",nil)
	var_Items:AddLink("AB",h1,"A",h2,"B")
oDCOCX_Exontrol1:EndUpdate()

721
How do I remove, delete the objects like bars and links selected in the chart area
local var_Items as IItems
local h1,h2 as USUAL

oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:Chart:AllowSelectObjects := exSelectObjects
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20020101")
oDCOCX_Exontrol1:Columns:Add("Task")
var_Items := oDCOCX_Exontrol1:Items
	h1 := var_Items:AddItem("Task 1")
	var_Items:AddBar(h1,"Task",SToD("20020102"),SToD("20020104"),"A",nil)
	var_Items:[ItemBar,h1,"A",exBarSelected] := true
	h2 := var_Items:AddItem("Task 2")
	var_Items:AddBar(h2,"Task",SToD("20020106"),SToD("20020110"),"B",nil)
	var_Items:AddLink("AB",h1,"A",h2,"B")
oDCOCX_Exontrol1:EndUpdate()
oDCOCX_Exontrol1:Chart:RemoveSelection()

720
How do I select links and bars in the chart area

local var_Items as IItems
local h1,h2 as USUAL

oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:Chart:AllowSelectObjects := exSelectObjects
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20020101")
oDCOCX_Exontrol1:Columns:Add("Task")
var_Items := oDCOCX_Exontrol1:Items
	h1 := var_Items:AddItem("Task 1")
	var_Items:AddBar(h1,"Task",SToD("20020102"),SToD("20020104"),"A",nil)
	var_Items:[ItemBar,h1,"A",exBarSelected] := true
	h2 := var_Items:AddItem("Task 2")
	var_Items:AddBar(h2,"Task",SToD("20020106"),SToD("20020110"),"B",nil)
	var_Items:[ItemBar,h2,"B",exBarSelected] := true
	var_Items:AddLink("AB",h1,"A",h2,"B")
	var_Items:[Link,"AB",exLinkSelected] := true
oDCOCX_Exontrol1:EndUpdate()

719
How do I select links in the chart area

local var_Items as IItems
local h1,h2 as USUAL

oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:Chart:AllowSelectObjects := exSelectLinksOnly
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20020101")
oDCOCX_Exontrol1:Columns:Add("Task")
var_Items := oDCOCX_Exontrol1:Items
	h1 := var_Items:AddItem("Task 1")
	var_Items:AddBar(h1,"Task",SToD("20020102"),SToD("20020104"),"A",nil)
	h2 := var_Items:AddItem("Task 2")
	var_Items:AddBar(h2,"Task",SToD("20020106"),SToD("20020110"),"B",nil)
	var_Items:AddLink("AB",h1,"A",h2,"B")
	var_Items:[Link,"AB",exLinkSelected] := true
oDCOCX_Exontrol1:EndUpdate()

718
How do I select bars, or tasks in the chart area
local var_Items as IItems
local h as USUAL

oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:Chart:AllowSelectObjects := exSelectBarsOnly
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20020101")
oDCOCX_Exontrol1:Columns:Add("Task")
var_Items := oDCOCX_Exontrol1:Items
	h := var_Items:AddItem("Task 1")
	var_Items:AddBar(h,"Task",SToD("20020102"),SToD("20020104"),"A",nil)
	var_Items:AddBar(h,"Task",SToD("20020106"),SToD("20020110"),"B",nil)
	var_Items:[ItemBar,h,"A",exBarSelected] := true
	var_Items:AddLink("AB",h,"A",h,"B")
oDCOCX_Exontrol1:EndUpdate()

717
Can I change the Task bar so it display a Progress or a Percent bar, but it is splitted when the task intersect a non working area

local var_Chart as IChart
local var_Items as IItems
local h as USUAL

var_Chart := oDCOCX_Exontrol1:Chart
	var_Chart:ShowTransparentBars := 60
	var_Chart:FirstVisibleDate := SToD("20010101")
	var_Chart:Bars:Add("Task%Progress:Split"):Shortcut := "Task"
	var_Chart:[PaneWidth,false] := 48
oDCOCX_Exontrol1:Columns:Add("Column")
var_Items := oDCOCX_Exontrol1:Items
	h := var_Items:AddItem("Item 1")
	var_Items:AddBar(h,"Task",SToD("20010102"),SToD("20010116"),"K1",nil)
	var_Items:[ItemBar,h,"K1",exBarPercent] := 0.15
	var_Items:[ItemBar,h,"K1",exBarShowPercentCaption] := true

716
Can I change the Task bar so it display a Progress or a Percent bar

local var_Chart as IChart
local var_Items as IItems
local h as USUAL

var_Chart := oDCOCX_Exontrol1:Chart
	var_Chart:FirstVisibleDate := SToD("20010101")
	var_Chart:Bars:Add("Task%Progress"):Shortcut := "Task"
oDCOCX_Exontrol1:Columns:Add("Column")
var_Items := oDCOCX_Exontrol1:Items
	h := var_Items:AddItem("Item 1")
	var_Items:AddBar(h,"Task",SToD("20010102"),SToD("20010105"),"K1",nil)
	var_Items:[ItemBar,h,"K1",exBarPercent] := 0.15
	var_Items:[ItemBar,h,"K1",exBarShowPercentCaption] := true

715
How can I remove the filter
local var_Column as IColumn

var_Column := IColumn{oDCOCX_Exontrol1:Columns:Add("Column")}
	var_Column:DisplayFilterButton := true
	var_Column:FilterType := exBlanks
oDCOCX_Exontrol1:ApplyFilter()
oDCOCX_Exontrol1:ClearFilter()

714
I use the ShowEmptyBars property, but I display seconds from 15 to 15, and the bars are not shown correctly. What can I do

local var_Chart as IChart
local var_Items as IItems
local var_Level as ILevel
local h as USUAL

oDCOCX_Exontrol1:SelBackColor := RGB(255,0,0)
oDCOCX_Exontrol1:BeginUpdate()
var_Chart := oDCOCX_Exontrol1:Chart
	var_Chart:AllowCreateBar := exCreateBarAuto
	var_Chart:FirstVisibleDate := SToD("20020101")
	var_Chart:LevelCount := 2
	var_Chart:[Level,0]:Label := 1048576
	var_Level := var_Chart:[Level,1]
		var_Level:Label := "<%ss%>"
		var_Level:Count := 15
	var_Chart:ShowEmptyBars := 15
	var_Chart:ShowEmptyBarsUnit := exSecond
	var_Chart:[PaneWidth,false] := 48
oDCOCX_Exontrol1:Columns:Add("Task")
var_Items := oDCOCX_Exontrol1:Items
	h := var_Items:AddItem("Task 1")
	var_Items:AddBar(h,"Task",SToD("20020101 00:00:15"),SToD("20020101 00:00:15"),"A",nil)
	var_Items:AddBar(h,"Task",SToD("20020101 00:01:15"),SToD("20020101 00:01:30"),"B",nil)
	var_Items:AddLink("AB",h,"A",h,"B")
oDCOCX_Exontrol1:EndUpdate()

713
I need the bar works like in the MS Project, where task from 1/1/2001 to 1/1/2001 must display 1 day
local var_Items as IItems

oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
oDCOCX_Exontrol1:Chart:ShowEmptyBars := 1
oDCOCX_Exontrol1:Columns:Add("Column")
var_Items := oDCOCX_Exontrol1:Items
	var_Items:AddBar(var_Items:AddItem("Item 1"),"Task",SToD("20010101"),SToD("20010101"),nil,nil)

712
I have a bar that has the start and end date identical. Nothing is displayed. What can I do
local var_Items as IItems

oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
oDCOCX_Exontrol1:Chart:ShowEmptyBars := 1
oDCOCX_Exontrol1:Columns:Add("Column")
var_Items := oDCOCX_Exontrol1:Items
	var_Items:AddBar(var_Items:AddItem("Item 1"),"Task",SToD("20010102"),SToD("20010102"),nil,nil)

711
How can I display seconds and bars for 15 to 15

local var_Items as IItems
local var_Level as ILevel
local h as USUAL

oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:Chart:AllowCreateBar := exCreateBarAuto
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20020101")
oDCOCX_Exontrol1:Chart:LevelCount := 2
oDCOCX_Exontrol1:Chart:ShowEmptyBars := 0
oDCOCX_Exontrol1:Chart:[Level,0]:Label := 1048576
var_Level := oDCOCX_Exontrol1:Chart:[Level,1]
	var_Level:Label := "<%ss%>"
	var_Level:Count := 15
oDCOCX_Exontrol1:Chart:[PaneWidth,false] := 48
oDCOCX_Exontrol1:Chart:Bars:Copy("Task","Task2"):Color := RGB(255,0,0)
oDCOCX_Exontrol1:Columns:Add("Task")
var_Items := oDCOCX_Exontrol1:Items
	h := var_Items:AddItem("Task 1")
	var_Items:AddBar(h,"Task",SToD("20020101 00:00:15"),SToD("20020101 00:00:45"),"A",nil)
	var_Items:AddBar(h,"Task2",SToD("20020101 00:01:15"),SToD("20020101 00:01:45"),"B",nil)
	var_Items:AddLink("AB",h,"A",h,"B")
oDCOCX_Exontrol1:EndUpdate()

710
How can I vertically display the column's caption, in the header


IColumn{oDCOCX_Exontrol1:Columns:Add("A")}:HeaderVertical := true
IColumn{oDCOCX_Exontrol1:Columns:Add("B")}:HeaderVertical := true
IColumn{oDCOCX_Exontrol1:Columns:Add("H")}:HeaderVertical := false

709
How can I copy a predefined bar
local var_Items as IItems

oDCOCX_Exontrol1:Chart:Bars:Copy("Task","T2"):Color := RGB(255,0,0)
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
oDCOCX_Exontrol1:Columns:Add("Column")
var_Items := oDCOCX_Exontrol1:Items
	var_Items:AddBar(var_Items:AddItem("Item 1"),"T2",SToD("20010102"),SToD("20010104"),nil,nil)

708
How can I define my own custom bar, using my icons or pictures

local var_Bar as IBar
local var_Bars as IBars
local var_Items as IItems

oDCOCX_Exontrol1:Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yNAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")
var_Bars := oDCOCX_Exontrol1:Chart:Bars
	var_Bars:AddShapeCorner(12345,1)
	var_Bars:AddShapeCorner(22345,2)
	var_Bar := var_Bars:Add("T2")
		var_Bar:StartShape := 0x5740 | exShapeIconCircleUp1
		var_Bar:EndShape := 0x3020 | exShapeIconVBar | exShapeIconRight
		var_Bar:EndColor := RGB(255,0,0)
		var_Bar:Pattern := exPatternDot
		var_Bar:Color := RGB(255,0,255)
		var_Bar:Shape := exShapeThinCenter
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
oDCOCX_Exontrol1:Columns:Add("Column")
var_Items := oDCOCX_Exontrol1:Items
	var_Items:AddBar(var_Items:AddItem("Item 1"),"T2",SToD("20010102"),SToD("20010104"),nil,nil)

707
How can I access a predefined bar
local var_Items as IItems

oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
oDCOCX_Exontrol1:Columns:Add("Column")
var_Items := oDCOCX_Exontrol1:Items
	var_Items:AddBar(var_Items:AddItem("Item 1"),"Task",SToD("20010102"),SToD("20010104"),nil,nil)
oDCOCX_Exontrol1:Chart:Bars:[Item,"Task"]:Color := RGB(255,0,0)

706
How can I access a predefined bar
local var_Items as IItems

oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
oDCOCX_Exontrol1:Columns:Add("Column")
var_Items := oDCOCX_Exontrol1:Items
	var_Items:AddBar(var_Items:AddItem("Item 1"),"Task",SToD("20010102"),SToD("20010104"),nil,nil)
oDCOCX_Exontrol1:Chart:Bars:[Item,"Task"]:Color := RGB(255,0,0)

705
How can I remove all predefined bars
local var_Items as IItems

oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
oDCOCX_Exontrol1:Columns:Add("Column")
var_Items := oDCOCX_Exontrol1:Items
	var_Items:AddBar(var_Items:AddItem("Item 1"),"Task",SToD("20010102"),SToD("20010104"),nil,nil)

704
How can I remove a predefined bar
local var_Items as IItems

oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
oDCOCX_Exontrol1:Columns:Add("Column")
var_Items := oDCOCX_Exontrol1:Items
	var_Items:AddBar(var_Items:AddItem("Item 1"),"Task",SToD("20010102"),SToD("20010104"),nil,nil)

703
How do I get the number of predefined bars

oDCOCX_Exontrol1:Columns:Add(AsString(oDCOCX_Exontrol1:Chart:Bars:Count))

702
How can I change the shape of the task bar

local var_Bar as IBar
local var_Items as IItems

var_Bar := oDCOCX_Exontrol1:Chart:Bars:Copy("Task","T2")
	var_Bar:EndShape := exShapeIconDown1
	var_Bar:EndColor := RGB(255,0,0)
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
oDCOCX_Exontrol1:Columns:Add("Column")
var_Items := oDCOCX_Exontrol1:Items
	var_Items:AddBar(var_Items:AddItem("Item 1"),"T2",SToD("20010102"),SToD("20010104"),nil,nil)
	var_Items:AddBar(var_Items:AddItem("Item 2"),"Task",SToD("20010102"),SToD("20010104"),nil,nil)

701
How can I change the ending shape for all task bars

local var_Bar as IBar
local var_Items as IItems

var_Bar := oDCOCX_Exontrol1:Chart:Bars:[Item,"Task"]
	var_Bar:EndShape := exShapeIconUp1
	var_Bar:EndColor := RGB(255,0,0)
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
oDCOCX_Exontrol1:Columns:Add("Column")
var_Items := oDCOCX_Exontrol1:Items
	var_Items:AddBar(var_Items:AddItem("Item 1"),"Task",SToD("20010102"),SToD("20010104"),nil,nil)